---
title: "Comment by Lars Ejaas on \"Tutorial: Apollo Client with React and TypeScript\" | Hashnode"
description: "Yeah, I am working on a project right now! TypeScript and ApolloClient is a great combo. BUT, for projects with large GraphQL queries I would recommend combinin"
url: "https://hashnode.com/posts/apollo-client-react-typescript-example/60d490e512f77505a833c130/comment/60d66594de92ef110afdd0f7"
---

[Discussion](https://hashnode.com/posts/apollo-client-react-typescript-example/60d490e512f77505a833c130)

Comment [Tutorial: Apollo Client with React and TypeScript](https://hashnode.com/posts/apollo-client-react-typescript-example/60d490e512f77505a833c130)

[Lars Ejaas](https://hashnode.com/@LarsEjaas)

[Jun 25, 2021](https://hashnode.com/posts/apollo-client-react-typescript-example/60d490e512f77505a833c130/comment/60d66594de92ef110afdd0f7)

Yeah, I am working on a project right now! TypeScript and ApolloClient is a great combo. BUT, for projects with large GraphQL queries I would recommend combining them with GraphQL generator. They have something called TypedDocumentNode where you can automatically generate types for all of your queryData. This is really SO great! A highly recommended tool!

[Ákos Kőműves](https://hashnode.com/@akoskm)

[Jun 26, 2021](https://hashnode.com/posts/apollo-client-react-typescript-example/60d490e512f77505a833c130/comment/60d66594de92ef110afdd0f7#reply-60d6e364cb0aa8118c23afc5)

Smart move! For large a project that's a must, I use a type generator in a huge RoR project and it's really powerful not having to write types manually.

[Lars Ejaas](https://hashnode.com/@LarsEjaas)

[Jun 26, 2021](https://hashnode.com/posts/apollo-client-react-typescript-example/60d490e512f77505a833c130/comment/60d66594de92ef110afdd0f7#reply-60d6f079de92ef110afdd7f7)

Yeah, I work with a headless CMS at the moment and I love how TypeScript always tells me exactly what data I have to work with within the Components. This really is as easy to work with as autocomplete when you are texting on your phone!

[Ákos Kőműves](https://hashnode.com/@akoskm)

[Jul 7, 2021](https://hashnode.com/posts/apollo-client-react-typescript-example/60d490e512f77505a833c130/comment/60d66594de92ef110afdd0f7#reply-60e5d5fdda792814ac2ab24a)

Yeah, type suggestions in VSCode also speed up the development.
