https://github.com/the-road-to-graphql/react-apollo-client-apollo-cache-redux-example
A React application using Apollo Client with apollo-cache-redux to manage local and remote state with a combined solution.
https://github.com/the-road-to-graphql/react-apollo-client-apollo-cache-redux-example
apollo apollo-cache-redux apollo-client apollographql react react-apollo reactjs redux
Last synced: 2 months ago
JSON representation
A React application using Apollo Client with apollo-cache-redux to manage local and remote state with a combined solution.
- Host: GitHub
- URL: https://github.com/the-road-to-graphql/react-apollo-client-apollo-cache-redux-example
- Owner: the-road-to-graphql
- Created: 2018-05-02T06:33:28.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-12T08:43:02.000Z (about 5 years ago)
- Last Synced: 2025-04-20T03:49:50.211Z (2 months ago)
- Topics: apollo, apollo-cache-redux, apollo-client, apollographql, react, react-apollo, reactjs, redux
- Language: JavaScript
- Homepage: https://www.robinwieruch.de/react-redux-apollo-client-state-management-tutorial
- Size: 1.77 MB
- Stars: 8
- Watchers: 2
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# react-apollo-client-apollo-cache-redux-example
[](https://travis-ci.org/the-road-to-graphql/react-apollo-client-apollo-cache-redux-example) [](https://slack-the-road-to-learn-react.wieruch.com/) [](https://greenkeeper.io/)
A React application using Apollo Client with [apollo-cache-redux](https://github.com/rportugal/apollo-cache-redux) for state management. Rather than having Apollo Client (apollo-cache-inmemory) and Redux side by side, this library attempts to **combine both worlds (Apollo, Redux) to manage local and remote state**. [Read more about it here](https://www.robinwieruch.de/react-redux-apollo-client-state-management-tutorial).
## Installation
* `git clone [email protected]:the-road-to-graphql/react-apollo-client-apollo-cache-redux-example.git`
* cd react-apollo-client-apollo-cache-redux-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)