feature request: add support for @apollo/react-hooks
See original GitHub issueAwesome library. I like how this implementation wraps _app.js
so you don’t have to explicitly wrap every page. I maintain a similar library and just added support for @apollo/react-hooks
. I’d love to see it implemented here as well!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Hooks - Apollo GraphQL Docs
The ApolloProvider component leverages React's Context API to make a configured Apollo Client instance available throughout a React component tree. This ...
Read more >react-apollo useQuery: add support for Suspense #162 - GitHub
Although Suspense isn't officially ready for data fetching, some libraries already take advantage of this feature (react-hooks-fetch, react- ...
Read more >Hooks FAQ - React
Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class. This page...
Read more >The React + Apollo Tutorial for 2020 (Real-World Examples)
We'll cover these features in-depth throughout the course of this guide. Apollo Client basic setup. If you are starting a project with a...
Read more >use-http - npm
React hook for making isomorphic http requests ... Persistent caching support; Suspense (experimental) support; Retry functionality ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi there, I’m currently working on some updates after the release of Next.js 9, once that’s ready I’ll update the package 😄
Adding
@apollo/react-ssr
alone should work, I only needgetDataFromTree
so no need for@apollo/react-hooks
and users would be able to use eitherreact-apollo
or@apollo/react-hooks
. There’s one issue though,@apollo/react-ssr
is not published in npm…lol