Skip to main content

Create-React-App

Since v2 of Create-React-App, you can use TypeScript without the need to eject from the basic scripts packages.

schema: http://my-server/graphql
documents: 'src/**/*.graphql'
generates:
components.tsx:
plugins:
- typescript
- typescript-operations
- typescript-react-apollo