Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/koenpunt/bugreport-react-apollo-unsubscribe
https://github.com/koenpunt/bugreport-react-apollo-unsubscribe
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/koenpunt/bugreport-react-apollo-unsubscribe
- Owner: koenpunt
- License: mit
- Created: 2021-11-05T18:14:59.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-20T09:05:59.000Z (9 months ago)
- Last Synced: 2024-10-14T17:03:45.609Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://github.com/apollographql/apollo-client/issues/10271
- Size: 2.75 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Apollo Client Issue Reproduction
Welcome! If you are here then you were likely referred to this repo when reporting an error to [`apollographql/apollo-client`][1]. The core team is invested in making the best client for GraphQL possible, so when you hit an error it is important to the team that the error is resolved as soon as possible.
Unfortunately, describing an error in GitHub is often not enough to truly understand the reported issue. By creating a small reproduction test case using this template repo the Apollo Client team will be able to identify and fix your error much faster then they could without.
This repo was created with [`create-react-app`][2] for a great developer experience. If you are not using React then a small reproduction case with your framework of choice would go a long way.
To make changes in the GraphQL schema make sure to look at the `./src/index.jsx` file where we define a GraphQL schema using [GraphQL.js][3] which will run in the browser.
[1]: https://github.com/apollographql/apollo-client
[2]: https://github.com/facebookincubator/create-react-app
[3]: http://graphql.org/graphql-js/# Reproduction Creation Steps
1. Fork this repository to your GitHub account.
2. By default, cloning this repostiory gives you an Apollo Client 3.0-based application. If you would like to start with a legacy Apollo Client 2.6 application, clone or checkout the `ac2` branch:
```sh
git clone --branch ac2 [email protected]:apollographql/react-apollo-error-template.git
# Or, after cloning the repository:
git checkout -t origin/ac2
```
2. After cloning, install all dependencies with `npm install`.
3. Start the development server with `npm start`.
4. Make the changes that will reproduce this error locally.
5. When ready, push your changes back to GitHub and let the `apollo-client` team know where they can be found.