Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Umbrella] Releasing Suspense #13206

Open
44 of 63 tasks
acdlite opened this issue Jul 13, 2018 · 119 comments
Open
44 of 63 tasks

[Umbrella] Releasing Suspense #13206

acdlite opened this issue Jul 13, 2018 · 119 comments
Labels
React Core Team Opened by a member of the React Core Team Type: Umbrella

Comments

@acdlite
Copy link
Collaborator

acdlite commented Jul 13, 2018

Let's use this issue to track the remaining tasks for releasing Suspense to open source.

Last updated: March 24, 2022

Blog post: The Plan for React 18

Completed: React 16

  • Release <Suspense> with React.lazy for client-side lazy loading

Completed: React 18 Alpha

  • Implement concurrent rendering, which is a prerequisite to everything else.
  • Fix fundamental flaws in the concurrency model that made the behavior difficult to understand and caused many bugs.
  • Rewrite how React traverses the tree to unblock fixing Suspense quirks.
  • Redesign how React integrates with the scheduler to simplify the model, fix bugs, and prepare for native browser scheduling.
  • Fix <Suspense> quirks: Previously, effects would fire inside a suspended tree too early. For example, you would see an effect from a component that's still hidden behind a placeholder. Now effects will run only after the content has been revealed. We expect this to fix existing application code bugs.
  • Hiding and showing existing content should re-fire layout effects: If a component that's already visible suspends, we show a placeholder, and later show it again. However, there was no way for the component to know that it was hidden or shown. For example, a tooltip component measuring its screen position would get incorrect measurements while it's hidden. Now we fire useLayoutEffect cleanup (same as componentWillUnmount) on "hide", and useLayoutEffect setup (same as componentDidMount) on "show". We expect this to fix existing application and library code bugs.
  • <Suspense> on the server no longer throws: It used to be a hard error to render <Suspense> in a tree on the server. Now, for the old server renderer, it silently emits the fallback (and lets the client try to render the content instead). This shouldn't affect existing apps because previously it was not possible to render <Suspense> on the server at all.
  • startTransition lets you avoid hiding existing content even if it suspends again. This is useful to implement the "show old data while refetching" pattern with minimal code.
  • Built-in throttling of Suspense reveals: To avoid updating the screen too often and causing visual jank, React "waits" a little bit before revealing the next level of spinners — in case even more content is available by that time. In other words, revealing nested Suspense fallbacks is automatically throttled by React.
  • New Streaming Suspense Server Renderer:
    • Initial streaming renderer implementation.
    • React.lazy works with SSR out of the box.
    • Streaming HTML: React uses your <Suspense> boundaries to stream the page HTML in visual chunks.
    • Selective Hydration: React uses your <Suspense> boundaries to hydrate the page in chunks, improving responsiveness.
      • React prioritizes hydrating the part of the page you are interacting with.
      • React keeps the browser responsive during hydration of <Suspense> boundaries.
      • React captures and replays missed events after hydration.
  • Technical preview of Server Components:
    • Implement the server with support for suspending.
    • Prototype a caching layer.
    • Prototype React I/O libraries like react-fetch and react-pg.
    • Support lazy-loaded elements for server trees.

Completed: React 18

  • Finalize New Streaming Suspense Server Renderer:
    • Make it pass all of our existing tests.
    • Prove it out in production (currently we use a hack in its place).
    • Add the missing "static markup" APIs for things like emails.
    • Fix known bugs with hydrating Suspense.
    • Move the new server renderer from react-dom/unstable-fizz to react-dom/server.
  • Fall back to client rendering from closest <Suspense> on mismatches instead of patching up the tree.
  • Add onRecoverableError to gather production reports about SSR mismatches.

Features that may or may not appear in 18.x

  • <SuspenseList> lets you declaratively coordinate the order in which <Suspense> nodes inside will reveal.
    • Implementation.
    • Server support
    • Finalize and document the API.
  • "Backup" <Suspense> boundaries (not final naming): A way to specify that you'd like React to ignore this boundary during initial render (as if it's not there), unless React is forced to hide existing content. We sometimes call these "ugly spinners" or "last resort spinners". This use case might seem a bit exotic but we've needed it quite a few times.
    • Initial implementation as unstable_avoidThisFallback
    • Server support
    • Pick a good name
  • <Suspense> for CPU-bound trees (not final naming): A way to tell React to immediately show a placeholder without even trying to render the content. This is useful if you have an expensive tree inside. This use case is unrelated to network — it's about showing a spinner for some tree that takes a while to render. See Suspense for CPU-bound trees #19936.
    • Initial implementation as unstable_expectedLoadTime
    • Adjust the heuristics
    • Server support
    • Pick a good name
  • An API to prioritize hydrating a particular DOM element's parent tree.
    • Implement as ReactDOM. unstable_scheduleHydration
    • Pick a name
  • Reducing jank: Take another look at adjusting the small details to reduce any visual jank to the minimum. For example, throttle reveal of Suspense boundaries between siblings as well.

React 18.x (post-18.0): Suspense for Data Fetching

All of the above changes are foundational architectural improvements to <Suspense>. They fill the gaps in the mechanism and make it deeply integrated with all parts of React (client and server). However, they don't prescribe a particular data fetching strategy. That will likely come after the 18.0 release, and we're hoping that to have something during the next 18.x minor releases.

This work will include:

  • React I/O libraries like react-fetch, which is a lightweight and easiest way to fetch data with Suspense.
    • Initial implementation
    • Finalize the API
  • Built-in Suspense <Cache> which will likely be the primary recommended way for third-party data fetching libraries to integrate with Suspense. (For example, react-fetch uses it internally.)
    • Initial implementation
    • Try it in production
    • Investigate what's missing
    • Figure out the recommended strategy for normalized caches
  • Server Components, which will be the recommended way to fetch data with Suspense in a way that scales great and integrates with React Fetch as well as third-party libraries.
    • Initial implementation
    • Basic Server Context implementation
    • Server Context features for refetching
    • Figure out the layering between Server Components and New SSR
    • (This section has many follow-up questions, so it's incomplete)
  • Clear documentation and recommendations for data fetching library authors on how to integrate with Suspense
@aweary
Copy link
Contributor

aweary commented Jul 13, 2018

Expose unstable_AsyncMode (maybe?)

Isn't this already exposed?

@acdlite
Copy link
Collaborator Author

acdlite commented Jul 13, 2018

I meant remove the unstable_

@thoamsy
Copy link

thoamsy commented Jul 15, 2018

I am looking forward to open source of the unnamed code-splitting library 💯

@ryota-murakami
Copy link
Contributor

What does it mean [Umbrella]?🤔☂️

@ghoullier
Copy link

ghoullier commented Jul 23, 2018

This mean, it's a feature which impact several projects/packages/tools.

@ryota-murakami
Copy link
Contributor

@ghoullier I see, Thank you so much!

@JedWatson
Copy link
Contributor

Hey @acdlite, just a question about how to best prepare for this. Not asking for / expecting any kind of timeline, but wondering:

Are you currently expecting these features to drop into React 16 and be easy to adopt incrementally, like the new Context API that landed with 16.3?

Or are you thinking it'll be something that pushes React to v17 and require more work to adopt?

Asking because I'm working on a roadmap that crosses over significantly with pretty much everything on your list and am trying to work out how to best deal with that.

Also do you have any tips on how to best prepare (in terms of code written today, that wants to be future compatible with these improvements to React) - polyfills / techniques / etc?

(apologies if these questions are answered elsewhere and I've missed them)

@donaldpipowitch
Copy link

Adding another question to @JedWatson's questions:

  • We also don't need/expect to get a timeline for a stable release, but would it be possible/useful to get a new prerelease? (AFAIK the newest release is 16.4.0-alpha.0911da3 from February.)

Thank you! ❤️

@NE-SmallTown
Copy link
Contributor

NE-SmallTown commented Jul 24, 2018

IMO, they will provide a blog post like before before it's been landed.

And I think you don't need to prepare too much because there is no breaking change(it does have many features that maybe would seems different/conflict with current practices, like redux fetch with suspense, but there will be a codemod or easy encapsulation to do this, you know, fb has 3W+ components). And if you watch the talk of @acdlite (about ssr suspense in ZEIT) and @gaearon (about client suspense in iceland), you will know you don't need to worry about too much and it's not invasive.

By the way, you can just search the key 'Umbrella' in the repo and you will find more info like #8830 and #12152

AFAIK the newest release is 16.4.0-alpha.0911da3 from February.

IIRC, this is a misoperation?

@sebinsua
Copy link

@JedWatson This comment helped me understand what a developer must do to help ensure that their application's are async safe.

@cyan33
Copy link
Contributor

cyan33 commented Jul 24, 2018

I'm working on rolling out the suspense module and new APIs in facebook. In case @acdlite is busy with something else, I'd like to share some of my thoughts of our experience in facebook and answer some questions of @JedWatson.

Are you currently expecting these features to drop into React 16 and be easy to adopt incrementally, like the new Context API that landed with 16.3?

I'm not sure if it will come with React 16 or 17. According to the React team, it's likely to be released before the end of this year, which depends on how well it runs in facebook and how the related API is ready or not. But code-wise, I'm happy to say that it would be easy to adopt, because we've been experimenting for quite a while in facebook. The suspense feature will still work for the existing codebase. But with additional changes (like async rendering), you'll have more bonus that the new feature will bring you.

Do you have any tips on how to best prepare (in terms of code written today, that wants to be future compatible with these improvements to React) - polyfills / techniques / etc?

I'd say the migration is rather incremental and progressive. Like @NE-SmallTown said, we don't want to introduce any breaking changes. That would also be painful to roll out to facebook because we have a so large codebase. But so far, the roll out has been smooth and doesn't require you to do additional changes.

@acdlite
Copy link
Collaborator Author

acdlite commented Jul 24, 2018

@JedWatson

Are you currently expecting these features to drop into React 16 and be easy to adopt incrementally, like the new Context API that landed with 16.3?

Incrementally. Always incrementally :) Otherwise there's no way we'd be able to ship this at Facebook.

Here's what I'm expecting:

Client Server-side rendering
Suspense Works everywhere* Same constraints as existing server renderer
Async rendering Opt-in using <AsyncMode> Same constraints as existing server renderer

*In sync mode, delayMs is always 0. Placeholders show up immediately.

Suspense will work without any changes to your existing components. At one point we thought we might require <StrictMode> compatibility, but during our internal testing we discovered one of the best ways to upgrade to strict mode was to use Suspense. Chicken-egg dilemma. So we found a way to make it work even outside of strict mode.

So the idea is that users will start migrating to Suspense even before they're ready to migrate to asynchronous rendering. Then once a subtree is ready, they can opt-in by wrapping in <AsyncMode>.

For new apps, though, the story is different: go async by default. We'll introduce a new root API (a replacement for ReactDOM.render) that is async only.

There will be an awkward period after the initial release where many third-party frameworks (Redux, Apollo, React Router...) may not work properly in async mode. That might hurt adoption for a while. But the idea is that the new features will be so compelling that it won't take long for libraries to either adapt or be superseded by an async-compatible alternative.

Also do you have any tips on how to best prepare (in terms of code written today, that wants to be future compatible with these improvements to React) - polyfills / techniques / etc?

Wrap everything in <StrictMode> and make sure there are no warnings. We'll have more detailed migration guides as we get closer to release.

@hwillson
Copy link

There will be an awkward period after the initial release where many third-party frameworks (Redux, Apollo, React Router...) may not work properly in async mode.

Apollo doesn't do awkward - we'll be ready! 🕺😳

Seriously though, we ❤️ all things React, so making sure we're in-line with these changes for the initial release is not only a high priority, but it's also something we're super excited about! Thanks for all of your amazing work on this @acdlite!

@markerikson
Copy link
Contributor

markerikson commented Jul 25, 2018

I'll chime in and say that the Redux team is working on async compat for React-Redux.

I laid out a potential roadmap at reduxjs/react-redux#950 . TL;DR:

  • React-Redux 5.1 will hopefully work with <StrictMode> with no warnings (current PR: Fix getDerivedStateFromProps usage reduxjs/react-redux#980 )
  • 6.0 will be an internal rewrite to use the new context API, add ref forwarding, and possibly other changes, but try to keep as much of the current public API as possible (ie, <Provider> and connect() ). We'll see how well that works with async rendering, and figure out the best path forward. (My prior proof-of-concept PR is at React 16 experiment: rewrite React-Redux to use new context API reduxjs/react-redux#898 , but we'll probably redo it based on other lessons learned from the 5.1 work.) It's likely that this release would require React 16.5 as a minimum, due to the need for new context and probably also the as-yet unreleased "read context from lifecycle methods" PR that was just merged.
  • After that, we're open to ideas for a different React-Redux API (yes, yes, that possibly includes render props, people).

We'd appreciate more eyes on our WIP, and hopefully people can give us some more feedback and discussion on how they're looking at using Redux with React Suspense and async rendering so we can make sure use cases get covered properly. We're also hoping to have some more discussions with the React team about exactly what constraints we need to work with, and it'd be helpful if we could get some sample apps that would let us see what problems we need to solve for all this to work correctly.

@anymost
Copy link

anymost commented Jul 26, 2018

looking forward to the release of Async rendering and Suspense

@ghost
Copy link

ghost commented Jul 27, 2018

@acdlite Also question about suspense and async rendering.
My question is once they are introduced and one starts writing apps with that new version of react: does it mean that react API and the way people code in react will change too? (even if they don't plan to use features of suspense and async rendering?)

I assume it can be trickier to write react code with suspense and async rendering (maybe due to some new API or other constraints), and for those who don't need it, why force them to use react in a new way? And not allow them to code in react the way they do now?

@gaearon
Copy link
Collaborator

gaearon commented Jul 27, 2018

I assume it can be trickier to write react code with suspense

Have you had a chance to watch the second half of my talk? I'd say quite the opposite — it's way less trickier to use suspense for data fetching than anything else (including Redux, local state, or some other library).

@ghost
Copy link

ghost commented Jul 27, 2018

@gaearon I haven't. I was speaking more in theory. Imagine there is already set of people who know react. If people don't need the feature of async rendering and suspense, why force them learn "new" react? Especially if the "new" react is tricker to use? But: I am not well informed so I might be wrong say about the "trickier" part - I am just sharing some of my thoughts :).

In a way I am saying if 10% of apps need the feature of Suspense and async rendering, why in those other 90% cases force people to learn "new" react? But again I might be wrong, since I didn't gather much info about suspence and async rendering yet.

@gaearon
Copy link
Collaborator

gaearon commented Jul 27, 2018

I think it's hard to have a conversation if you haven't looked at my demos yet.

To be clear: there's no "new React", these features don't break any existing patterns 🙂. They are additive. You don't need to write code in a completely different way to use those features either — although some of them only work if you use modern lifecycle methods.

While this is not directly related to your concern, I disagree they're "trickier to use". I think suspense is much simpler to use than any other loading mechanism that currently exists. That's the reason I'm so excited about it. But again, you don't have to use any of the new features if you don't want to. Old patterns will keep working.

I really do recommend watching my talk. I'm sure this will make a lot more sense once you see these features in action.

@ghost
Copy link

ghost commented Jul 27, 2018

@gaearon

All old patterns keep working.

Thanks for feedback Dan. Yeah that is how I thought, I suppose if people don't need those features they should be able to write the way they used to before those features were added.

good luck.

@ghost
Copy link

ghost commented Aug 18, 2018

Hey Dan(@gaearon), I am not nitpicking but want to figure it out. Above you said:

But again, you don't have to use any of the new features if you don't want to. Old patterns will keep working.

Which would suggest that I can code in new React the same way I did in "old" React, e.g. I could use the life cycle methods in the same way, etc. right?

However, here, bvaughn says that getDerivedStateFromProps (or componentWillReceiveProps) could be called many times for one update, hence his solution not to fetch data inside it.

So my question is, after all, it does seem we can't use the new React in exactly the same way as before right? Because AFAIK in current react componentWillReceiveProps doesn't get called many times for one update, isn't it?

@markerikson
Copy link
Contributor

@Giorgi-M : yes, the lifecycle methods are changing, but the point is that Suspense itself is an opt-in feature. All your existing React render methods and React's rendering behavior will work as-is. However, if you opt in by adding an <AsyncMode> tag to a part of your app, and you begin using Suspense's approach for indicating async data needs, then you can take advantage of it. None of that happens if you don't add that to your codebase.

@TrySound
Copy link
Contributor

@Giorgi-M componentDidUpdate should be used instead of componentWillReceiveProps or getDerivedStateFromProps.

@ghost
Copy link

ghost commented Aug 18, 2018

@markerikson So you say that what bvaughn said here, that getDerivedStateFromProps can be called many times for one update, is not necessarily the case, if I haven't enabled the <AsyncMode/>?
(sorry for asking such questions just they popup to me from time to time, and didn't find resource which would cover all).

ps. bvaughn also didn't mention the optionality of that in the linked thread, hence it raised my suspicion.

@pshrmn
Copy link

pshrmn commented Aug 22, 2018

Should a method for enqueueing asynchronous updates (e.g. deferSetState() for class components as opposed to renderer-specific unstable_deferredUpdates()) be added to the core checklist?

From my understanding, any updates for fibers in async mode will be asynchronous, which in theory means that deferSetState() would be unnecessary. However, the unstable-async/suspense demo mixes a synchronous update and an async update and I'm not sure how that can be accomplished in async mode (for "universal" components).

@gaearon
Copy link
Collaborator

gaearon commented Aug 22, 2018

It’s in the check list for the time slicing umbrella.

@gaearon
Copy link
Collaborator

gaearon commented Apr 7, 2021

MobX is a tricky case because it diverges from our direction. We want it to work but we can't make it benefit from features built on the opposing principle.

Like, there's no amount of magic that can make an approach fundamentally taking advantage of immutability ("we can render two versions of state independently") fully compatible with an approach fundamentally built on mutability ("changing this property immediately propagates"). I think the most we can count on here is not breaking the apps using it, which we'll be trying our best to do during the community rollout phase. But there's nothing we can do to make it benefit from new features that are built on (and enabled by!) the very opposite principle. That's the nature of picking a tradeoff.

That said, in practice it depends on how much mutation is happening and at what stage. E.g. Relay happens to rely on mutation in its implementation details today, and although technically it's breaking the rules, it works fine at scale because its updates aren't super common (mostly network responses), and we have some fallback mechanisms to recover from failures. We'd like to offer some APIs for mutable stores to integrate better with React, first with deopts like useMutableSource, but maybe later with some more first-class alternative mutable pattern (for example, databases solve this with MVCC) which could work just as well as immutability. I don't know at this point how it would look like or if MobX could take advantage of that to support new features well.

@gaearon
Copy link
Collaborator

gaearon commented Apr 7, 2021

As for a broader question, there is definitely a lot the community can do to help once we figure out the full upgrade story. I realize there's been a lot of annoyance with us not publishing some kind of "upgrade guides" earlier, but the whole point is we don't know the full story yet and we're still changing it so that it makes more sense. We don't want to churn people without a really good reason. I'm literally writing an internal guide now that we'll be using to migrate legacy surfaces to Concurrent roots, even the ones relying on Flux and mutation. We'll see if that goes well. Once we try those out, we'll use them as a basis for the open source guides. We hope to publish this information together with a release candidate, at which point we'll rotate fully to supporting open source libraries and helping them overcome any difficulties and common issues with migration. At that stage, we expect to gather some common recipes, and we'll definitely welcome (and need!) the community's help to propagate the knowledge and common solutions through the ecosystem. Although, like I said, a bulk of our current work is to make as much as possible just work out of the box — at least until you start using new features. Then you get to decide whether these new features are worth it, both as an application user and as a library author who's considering whether to invest some time in following the rules better.

@gaearon
Copy link
Collaborator

gaearon commented May 1, 2021

Btw, @rickhanlonii updated the time slicing demo (from the original JSConf Iceland talk) if you wanna play with it :-) as you can see some APIs have changed but they should make a bit more sense now (figuring out the right APIs and heuristics was a large part of the effort).

#21401
https://react-beta-seven.vercel.app/

(keep in mind the demo is not representative of the most efficient way to draw a chart per se, but shows some of the benefits we want to unlock in general for arbitrary component trees)

@gaearon
Copy link
Collaborator

gaearon commented May 14, 2021

Finalize other API semantics and defaults. (not started)

That’s one of the remaining areas to polish.

This is in progress. We've tweaked and unprefixed some APIs (for the experimental channel only). #21488

@ntucker
Copy link

ntucker commented May 14, 2021

@gaearon That's awesome! Does that mean a stable release with these things is coming soon? Will this be React 17.1?

@gaearon
Copy link
Collaborator

gaearon commented May 15, 2021

We are getting closer to the first release that would have an actual number version on it. It will be tagged as an alpha. Like always, we’ll announce it on the blog. A stable release is going to take place at least several months after that since we’re going to work closely with the ecosystem and it will take some more time to fill in the gaps. Sorry this is brief, preparing the communication for this is another part of the team’s ongoing work.

@zhangchao828
Copy link

With regard to:

Ecosystem compatibility and good defaults. It doesn't help if we release something that nobody can use today because it doesn't work with their libraries or existing approaches.

Is there anything the community can do to help?

At the company I work at, we're heavy users of MobX, and so we would be keen to help figure out how Concurrent Mode \ Time slicing can work with MobX. I imagine there are similar companies out there as well.

see: mobxjs/mobx-react-lite#53 (comment)

@gaearon
Copy link
Collaborator

gaearon commented Jun 9, 2021

Yesterday, we published The Plan for React 18.

tldr:

  • We’ve started work on the React 18 release, which will be our next major version.
  • We’ve created a Working Group to prepare the community for gradual adoption of new features in React 18.
  • We’ve published a React 18 Alpha so that library authors can try it and provide feedback.

React 18 will include a lot of foundational work for Suspense. This includes a brand new streaming server renderer which uses the <Suspense> boundaries to stream HTML and to hydrate the page in chunks, dramatically improving responsiveness. However, Suspense for Data Fetching will likely not be a part of the first 18.0 release, but follow after (likely in a 18.x minor release).

To reflect the current roadmap, I have updated the initial post in this thread. It shows the work we have already done over these years (most checkboxes correspond to multiple months of work), and the remaining work is grouped by the release timeline.

@gaearon
Copy link
Collaborator

gaearon commented Jun 10, 2021

Additionally, I'd like to share this thread from @rickhanlonii reflecting on the journey to React 18 alpha. I hope it provides some insight on why these things are taking time and we could not get this Alpha out earlier.

@Jack-Works
Copy link
Contributor

Hi! I'm trying to upgrade from the nightly version to alpha but I found unstable_getCacheForType wasn't included in the alpha version

@gaearon
Copy link
Collaborator

gaearon commented Jun 10, 2021

Yes, the Cache API is still more experimental than the rest so you’ll need an @experimental release to use that.

@koba04
Copy link
Contributor

koba04 commented Jun 10, 2021

I know that removing componentWillMount, componentWillReceiveProps, and componentWillUpdate was postponed at the v17. Will these APIs be still kept in v18, or be only kept UNSAFE_ prefixed lifecycle methods like the migration plan?
https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path

@gaearon
Copy link
Collaborator

gaearon commented Jun 10, 2021

We have not made a decision on this yet. We will include information about any deprecations or removals in future blog posts.

@Ayc0
Copy link

Ayc0 commented Jun 11, 2021

What would happen if a library uses the new APIs like startTransition but its users still uses ReactDOM.render instead of the new ReactDOM.createRoot? Will it crash?

@gaearon
Copy link
Collaborator

gaearon commented Jun 11, 2021

It won’t crash but it also won’t get treated as a transition. Just a regular state update.

@gaearon
Copy link
Collaborator

gaearon commented Sep 13, 2021

Wrote some updates on what we're working on and the state of different pieces. It's about React 18 overall but some parts there relate to Suspense: reactwg/react-18#98 (comment)

@gaearon
Copy link
Collaborator

gaearon commented Mar 24, 2022

I've updated the umbrella to document the current progress. There is nothing more blocking the initial React 18 release, so we've released the last call for feedback:

@gaearon
Copy link
Collaborator

gaearon commented Aug 25, 2022

We've been making some changes to the strategy, in particular, to avoid the need for "forked" IO libraries like react-fetch for every single use case. A wrapper could still make some things more ergonomic, but the current plan is to allow easy compatibility with any async/await code. This experimental API is the first step towards that: #25084

@tobias-tengler
Copy link

@gaearon is this new API superseding the Suspense cache (unstable_Cache) or are they meant to both exist alongside each other?

@gaearon
Copy link
Collaborator

gaearon commented Aug 25, 2022

I think we’re not super clear yet on whether Cache will be moving forward or not, but this API could potentially work together with it in the future.

@dante01yoon
Copy link

This might be outdated question after v18 release, but I wonder we don't need using loadable-components library for using Suspense in SSR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
React Core Team Opened by a member of the React Core Team Type: Umbrella
Projects
None yet
Development

No branches or pull requests