Course lesson
Start with a plain React Native app initialised using the React Native TypeScript template.
Start with a plain React Native app initialised using the React Native TypeScript template.
We will install and configure urql, use urql's useQuery hook to fetch all stories from the locally running graphQL API, and render them in a FlatList.
Resources:
Android:
yarn androidhttp://10.0.2.2:3000/graphql instead of http://localhost:3000/graphql for the API endpointCheckpoint:
Course lesson
Start with a plain React Native app initialised using the React Native TypeScript template.