---
title: "Discussion on \"Tutorial: Apollo Client with React and TypeScript\" | Hashnode"
description: "Discussion on \"Tutorial: Apollo Client with React and TypeScript\". In this tutorial, we’ll find out how we can use Apollo Client with React and TypeScript to power our front-end apps."
url: "https://hashnode.com/posts/apollo-client-react-typescript-example/60d490e512f77505a833c130"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Tutorial: Apollo Client with React and TypeScript](https://akoskm.com/apollo-client-react-typescript-example?utm_source=hashnode&utm_medium=feed)

In this tutorial, we’ll find out how we can use Apollo Client with React and TypeScript to power our front-end apps.

Jun 24, 2021 · 5 min read · akoskm.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#graphql](https://hashnode.com/tag/graphql)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)

## Written by

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

@akoskm

  
[View profile](https://hashnode.com/@akoskm)

Full-Stack Developer and Writer

I build web apps and make educational content to help web developers.

## Responses 4

Markdown supported · ⌘↵ to post

[Andrew Baisden](https://hashnode.com/@andrewbaisden)

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

I really need to get back up to speed with GraphQL. Good article [Ákos Kőműves](https://hashnode.com/@akoskm) .

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

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

Thank you, it'll be a great investment of your time!

[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.

[Brayan Arrieta Alfaro](https://hashnode.com/@brayanarrieta)

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

Awesome Article !

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

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

Thank you [Brayan Arrieta Alfaro](https://hashnode.com/@brayanarrieta) glad you like it. 🙂

[Kieran Roberts](https://hashnode.com/@kieran6roberts)

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

I recently used the combination of React, Apollo Client and TypeScript in a personal project myself and really enjoyed it. Great article [Ákos Kőműves](https://hashnode.com/@akoskm)!

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

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

Thank you [Kieran Roberts](https://hashnode.com/@kieran6roberts) 🙇‍♂️

For a long time, I used plain GraphQL but Apollo is a really nice addition to this stack.
