...

/

Generating Client-Side Types

Generating Client-Side Types

Learn about types generated using GraphQL Code Generator.

We'll cover the following...

In the previous lessons, we connect the GraphQL server and our client React application. However, there is still more we can do to improve the code. A GraphQL API’s schema is typed. Can we use those types to create TypeScript types? Yes! Such a thing is possible using GraphQL Code Generator.

GraphQL Code Generator

...

We’ll use ...