A small app to demonstrate how to load and paginate some issues from a repo, and their comments, using GitHub's GraphQL API, with Apollo Client.
- Copy
config.default.js
intoconfig.js
and add your username and password (please send a PR to add better login!) npm install
react-native run-ios
- Sending login token to GitHub API
- Navigating between two views and loading different queries
- Infinite scroll pagination
Here's the issues page and the comments for one of the issues:
Help us make the app better! Some ideas:
- Add real login, ideally with OAuth
- Add markdown rendering for comments
- Add a mutation to add reactions to comments, or post a new comment