the-road-to-graphql / react-apollo-client-with-redux-example

A React application using Apollo Client for remote data and Redux for local data side by side for state management.

Home Page:https://www.robinwieruch.de/react-redux-apollo-client-state-management-tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-apollo-client-with-redux-example

Build Status Slack Greenkeeper badge

A React application using Apollo Client for remote data and Redux for local data side by side for state management. While Redux is used to manage selected items as local data, the remaining queries and mutations from Apollo Client are used for remote data. Read more about it here.

Installation

  • git clone git@github.com:the-road-to-graphql/react-apollo-client-with-redux-example.git
  • cd react-apollo-client-with-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?

About

A React application using Apollo Client for remote data and Redux for local data side by side for state management.

https://www.robinwieruch.de/react-redux-apollo-client-state-management-tutorial


Languages

Language:JavaScript 82.9%Language:HTML 15.5%Language:CSS 1.7%