dillon1000/react

Commit

Fix SSR integration test swallowing lack of expected error (#10331)

* Don't catch the assertion about missing errors

Previously, even if an error was not thrown, the assertion about this was ignored.

This fix exposes two failing cases in new SSR that weren't failing in Stack.

* Add child context validation to new SSR

This fixes the error cases that were silently failing before but are now exposed.
Browse files
Changed paths2 files
First-parent comparison
M src/renderers/dom/shared/__tests__/ReactDOMServerIntegration-test.js ModifiedM src/renderers/shared/server/ReactPartialRenderer.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…