[Fizz] Render preamble eagerly (#33730)
We unnecessarily render the preamble in a task. This updates the
implementation to perform this render inline.
Testing this is tricky because one of the only ways you could assert
this was even happening is based on how things error if you abort while
rendering the root.
While adding a test for this I discovered that not all abortable tasks
report errors when aborted during a normal render. I've asserted the
current behavior and will address the other issue at another time and
updated the assertion later as necessary
DiffTrain build for [befc1246b07a04b401bc6e914b7f336a442dca1a](https://github.com/facebook/react/commit/befc1246b07a04b401bc6e914b7f336a442dca1a)
Автор
gnoff Коммитер
gnoff 17 дней назад