-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dynamicIO] Update prerender to use Fizz prerender (#71580)
Previously the `prerender` function for Fizz was gated to experimental but in our latest React sync we now have access to it in the canary channel. This updates the prerender pathway for non-experimental react to use `prerender` rather than `renderToReadableStream`. `prerender` has a few benefits in that it does breadth first rendering at Suspense boundaries so you can ensure fallback UIs are fully rendered wherever possible if you end up abortint the render. currently stacked on #71579
- Loading branch information
Showing
1 changed file
with
30 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters