-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Labels
Description
- feature
This link on the NPM readme https://codesandbox.io/s/github/apollographql/apollo-link-rest/tree/master/examples/typescript?file=/src/RepoSearch.tsx
for the typescript example has errors within it. It's also using older syntax for react and class based component architecture.
My fork is to resolve those bugs and refactor it to work with functional based components.
Updated the example from NPM read me to use more functional code and also to resolve the errors which are now showing with the updated packages on the typescript code example:
can be reviewed here https://codesandbox.io/s/apollo-link-rest-typescript-example-6r9pp
if this is acceptable please feel free to add to the working version for the next release.