dillon1000/react

Commit

Implement onError signature for renderToMarkup (#30170)

Stacked on #30132.

This way we can get parent and owner stacks from the error.

This forces us to confront multiple errors and whether or not a Flight
error that ends up being unobservable needs to really reject the render.

This implements stashing of Flight errors with a digest and only errors
if they end up erroring the Fizz render too. At this point they'll have
parent stacks so we can surface those.
Browse files
Changed paths4 files
First-parent comparison
M packages/react-html/src/ReactHTMLClient.js ModifiedM packages/react-html/src/ReactHTMLServer.js ModifiedM packages/react-html/src/__tests__/ReactHTMLClient-test.js ModifiedM packages/react-html/src/__tests__/ReactHTMLServer-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…