question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature: Full React layer rewrite

See original GitHub issue

This 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 removing useLazyQuery, etc.)
  • Existing hook API changes (better async-ness, reduce/eliminate onError / onCompleted callback use, etc.)
  • Remove partialRefetch

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:123
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

33reactions
rajingtoncommented, Nov 22, 2021

@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?

26reactions
kevenleonecommented, Apr 8, 2022

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found