Non-breaking React layer rewrite work
See original GitHub issueWe’re going to publish the non-breaking React layer rewrite work as part of Apollo Client 3.6, so this issue will be used to track the non-breaking parts of https://github.com/apollographql/apollo-client/issues/8245. This will mostly cover:
- React 18 based compatibility and enhancements
- Ensuring better communication with the AC core (by making the React layer lighter weight)
- Revamping our test suite (leveraging
renderHook
)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:17
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Full React layer rewrite #8245 - apollographql/apollo-client
This issue tracks the rewrite of Apollo Client's React integration layer, covering many ... Non-breaking React layer rewrite work #8419.
Read more >ReactJS render string with non-breaking spaces
React translates this JSX tag into a non-breaking space. Weird quirk: This must also be used on the same line as the text...
Read more >Integrating with Other Libraries - React
In React, props can change over time. For example, the <Chosen> component can get different children if parent component's state changes. This means...
Read more >white-space - CSS: Cascading Style Sheets - MDN Web Docs
Collapses white space as for normal , but suppresses line breaks (text wrapping) within the source. pre. Sequences of white space are preserved....
Read more >Render a String with Non-breaking Spaces in React | Pluralsight
This guide explores the solution to a simple problem often encountered while dealing with strings: rendering them without spaces using some ...
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
We’re polishing up our React 18 support. We’re aiming to have a new
@apollo/client
release candidate (for 3.6) with R18 support ready by the end of this week.We’ve just migrated one of our projects to React 18, and I’ve been working on adding Suspense support.
Here is my working PoC: https://github.com/hired/apollo-query-resource (not a real package yet — I’ve just copy-pasted code from internal monorepo):
It looks like this:
The conclusion: Suspense and Apollo actually work great together (but only on
experimental
branch at a moment).