jaydenseric / graphql-react

A GraphQL client for React using modern context and hooks APIs that is lightweight (< 4 kB) but powerful; the first Relay and Apollo alternative with server side rendering.
https://npm.im/graphql-react
MIT License
717 stars 22 forks source link

Investigate useMemo for useGraphQL hook #23

Closed jaydenseric closed 5 years ago

jaydenseric commented 5 years ago

With the pre-hooks Query component API:

I suspect the useMemo React hook could be used someone to add those smarts to the new useGraphQL API.