https://github.com/tmeasday/apollo-client-error-logging-in
https://github.com/tmeasday/apollo-client-error-logging-in
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tmeasday/apollo-client-error-logging-in
- Owner: tmeasday
- Created: 2018-05-23T05:01:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-23T05:01:50.000Z (over 7 years ago)
- Last Synced: 2025-02-06T08:11:12.354Z (8 months ago)
- Language: JavaScript
- Size: 158 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Apollo Client Error Template
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 get started writing your error case just clone this repository to your GitHub account, install all dependencies with `npm install`, start the development server with `npm start`, make the changes that will reproduce this error locally, and push your changes to GitHub where the `apollo-client` team can see them.
To make changes in the GraphQL schema make sure to look at the `./src/graphql` folder 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/# Deploy to Github Pages
You can deploy your built error demo to gh-pages branch by running:
```
npm run deploy YOUR_GIT_REMOTE
```