A React application using Apollo Client with apollo-link-state for local state management. While apollo-link-state (as alternative to React's local state, Redux or MobX) is used to manage selected items in a list as local data, the remaining queries and mutations are used for remote data.
git clone git@github.com:the-road-to-graphql/react-apollo-link-state-example.git
- cd react-apollo-link-state-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
- Don't miss upcoming Tutorials and Courses
- Check out current React Courses