This is the TypeScript template for Create React App.
To use this template, add --template ab-typescript
when creating a new app.
For example:
npx create-react-app my-app --template ab-typescript
# or
yarn create react-app my-app --template ab-typescript
For more information, please refer to:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.
We use three libraries for graphql (read how to install them):
To generate apollo hooks:
yarn gql:codegen
If you want to run fake API then:
yarn gql:faker
Sometimes if you run the app you can see issues with babel. Try remove node_modules and yarn.lock and install it again