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

Document useSubscription #112

Closed bdunn313 closed 4 years ago

bdunn313 commented 4 years ago

The README should have documentation on how to use useSubscription properly. Currently the README does not provide an explanation on how to use this properly, and a newcomer (like myself) to the ReasonReact scene may need a little extra help in the way of examples to get off the ground.

I would love to contribute this myself, but I'm currenlty a bit of a /\/0013 at ReasonML and properly reading type signatures / understanding error messages. Having more examples like this in the docs would be fantastic for understanding and adoption

bdunn313 commented 4 years ago

Never mind - figured it out,. and created a PR!

fakenickels commented 4 years ago

Thanks!!