A React application using Apollo Client with apollo-cache-redux to manage local and remote state with a combined solution.
Clone or download
rwieruch Merge pull request #4 from the-road-to-graphql/greenkeeper/react-scri…
…pts-2.1.0

Update react-scripts to the latest version 🚀
Latest commit 1d5673f Oct 30, 2018

README.md

react-apollo-client-apollo-cache-redux-example

Build Status Slack Greenkeeper badge

A React application using Apollo Client with 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.

Installation

  • git clone git@github.com: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
    • 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?