Feature: Full React layer rewrite
See original GitHub issueThis issue tracks the rewrite of Apollo Client’s React integration layer, covering many areas such as:
- Ensuring better communication with the AC core (by making the React layer lighter weight)
- Removing
graphql
HOC and render prop approaches - #9627
- Reconsidering our supported hooks (add
useFragment
, consider removinguseLazyQuery
, etc.) - Existing hook API changes (better async-ness, reduce/eliminate
onError
/onCompleted
callback use, etc.) - Remove
partialRefetch
Issue Analytics
- State:
- Created 2 years ago
- Reactions:123
- Comments:17 (7 by maintainers)
Top Results From Across the Web
Optimize React apps using a multi-layered structure
React projects can quickly become a mess. Here, you can learn how to use a multi-layered structure to optimize React apps.
Read more >Separate API Layers In React Apps - 6 Steps Towards ...
Separate API Layers In React Apps6 Steps Towards Maintainable Code · Step 1: Extract Query Hooks · Step 2: Reuse Common Logic ·...
Read more >Introducing Hooks - React
They let you use state and other React features without writing a class. ... You can try Hooks in a few components without...
Read more >Gradual Rewrite to React — the beginning. - Dev Genius
Of course, we'd prefer to do a complete rewrite, but it's deployed all at once, tricky to test properly, and it puts the...
Read more >How to rewrite enterprise application into React - YouTube
A story about global rewrite of enterprise application into React / Redux with the happy end. Migrating application into a brand new stack ......
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
@hwillson i see this was removed from being “Planned” in “Release 4.0”
Completely get this is a massive undertaking but with React 18 now in beta, would you be able to share any sort of timeline for official suspense support?
@hwillson two years and half the community is waiting for Suspense support for useQuery
https://github.com/apollographql/apollo-feature-requests/issues/162
Do you have any update about it?
I just think Apollo-client awesome and don’t want to drop the use of it in my projects, but without a clear schedule when this feature will be done, unfortunately I’ll have to drop using it.