What changes are planned for Suspense in 18? · reactwg/react-18 · Discussion #47 (original) (raw)

Since most of this information is spread between other topics, I will reply with a set of links.

Changes to existing <Suspense> behavior in React 18

Since <Suspense> support before 18 was limited, we don't expect these changes to affect existing code. However, let's enumerate them.

New <Suspense> features in 18

Features that may or may not appear in 18.0

Likely after React 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, but we're hoping that to have something during the next 18.x minor releases.

This work will include: