reasonml-community / reason-apollo-hooks

Deprecated in favor of https://github.com/reasonml-community/graphql-ppx
https://reasonml-community.github.io/reason-apollo-hooks/
MIT License
137 stars 28 forks source link

Add onSubscriptionData and fix error type on the useSubscription hook #106

Closed Emilios1995 closed 4 years ago

Emilios1995 commented 4 years ago

This adds the onSubscriptionData prop, the shouldResubscribe prop, and fixes the error type, using the apolloError

fakenickels commented 4 years ago

Thanks for pushing this @Emilios1995 but now with #122 this won't be necessary and will be used as a reference.