- Entry point: App.js
- Two screens, each with a GraphQL query:
This example app is built, tutorial-style, in the React Native chapter of The GraphQL Guide. Here are the tutorial steps:
- Starting branch: 0 app skeleton
- Step 1: 0...1 adding Apollo Client and first query
- Step 2: 1...2 adding second screen and query
- Step 3: 2...3 persisting the cache
git clone https://github.com/GraphQLGuide/guide-react-native.git
cd guide-react-native/
npm install
npm start
This will start the Expo bundler, and you can open the app on Android, iOS, or web.