dillon1000/react

Commit

[Fiber] Make server rendering tests pass (#8372)

* Use the public ReactDOMServer in tests

We need this because it runs the injection.

* Let Fiber skip react data attributes and comments in SSR tests

This markup is testing implementation details rather than behavior.
Browse files
Changed paths5 files
First-parent comparison
M scripts/fiber/tests-failing.txt ModifiedM scripts/fiber/tests-passing-except-dev.txt ModifiedM scripts/fiber/tests-passing.txt ModifiedM src/renderers/dom/stack/server/__tests__/ReactServerRendering-test.js ModifiedM src/renderers/shared/stack/reconciler/__tests__/ReactCompositeComponent-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…