dillon1000/react

Commit

[Fizz] use microtasks rather than tasks when scheduling work while prerendering (#30770)

Similar to https://github.com/facebook/react/pull/30768 we want to
schedule work during prerendering in microtasks both for the root task
and pings. We continue to schedule flushes as Tasks to allow as much
work to be batched up as possible.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-server/src/ReactFizzServer.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…