GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - GraphQLGuide/guide-react-native: Example app for using Apollo Client in React Native

BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
.expo-shared
.expo-shared
 
 
assets
assets
 
 
src
src
 
 
.gitignore
.gitignore
 
 
App.js
App.js
 
 
CHANGELOG.md
CHANGELOG.md
 
 
README.md
README.md
 
 
app.json
app.json
 
 
babel.config.js
babel.config.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

The GraphQL Guide React Native app

  • Entry point: App.js
  • Two screens, each with a GraphQL query:
    • src/HomeScreen.js
    • src/ChapterScreen.js

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

Running the app

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.

App running on iOS device

About

Example app for using Apollo Client in React Native

Topics

apollo-clientreact-native

Resources

Readme
Activity
Custom properties

Stars

97 stars

Watchers

1 watching

Forks

26 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.