https://github.com/the-road-to-graphql/react-apollo-client-optimistic-ui-example
A minimal React application which is powered by Apollo Client and GitHub's GraphQL API with optimistic UI.
https://github.com/the-road-to-graphql/react-apollo-client-optimistic-ui-example
apollo apollo-client apollographql react react-apollo reactjs
Last synced: 2 months ago
JSON representation
A minimal React application which is powered by Apollo Client and GitHub's GraphQL API with optimistic UI.
- Host: GitHub
- URL: https://github.com/the-road-to-graphql/react-apollo-client-optimistic-ui-example
- Owner: the-road-to-graphql
- Created: 2018-06-16T03:33:31.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-12T08:42:43.000Z (about 5 years ago)
- Last Synced: 2025-04-20T03:49:50.208Z (2 months ago)
- Topics: apollo, apollo-client, apollographql, react, react-apollo, reactjs
- Language: JavaScript
- Homepage: https://www.robinwieruch.de/react-apollo-client-example
- Size: 1.32 MB
- Stars: 10
- Watchers: 3
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# react-apollo-client-optimistic-ui-example
[](https://travis-ci.org/the-road-to-graphql/react-apollo-client-optimistic-ui-example) [](https://slack-the-road-to-learn-react.wieruch.com/) [](https://greenkeeper.io/)
A minimal React application using Apollo Client with GitHub's GraphQL API. As example **Apollo Client's optimistic UI feature is implemented**.
## Installation
* `git clone [email protected]:the-road-to-graphql/react-apollo-client-optimistic-ui-example.git`
* cd react-apollo-client-optimistic-ui-example
* npm install
* [add your own REACT_APP_GITHUB_PERSONAL_ACCESS_TOKEN in .env file](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/)
* scopes/permissions you need to check: admin:org, repo, user, notifications
* npm start
* visit `http://localhost:3000`## Want to learn more about React + GraphQL + Apollo?
* Don't miss [upcoming Tutorials and Courses](https://www.getrevue.co/profile/rwieruch)
* Check out current [React Courses](https://roadtoreact.com)