dillon1000/react

Commit

Fixed an issue with nested contexts unwinding when server rendering. Issue #12984 (#12985)

* Fixed an issue with nested contexts unwinding when server rendering. GitHub issue #12984

* Fixed an issue with search direction and stricter false checking

* Use decrement infix operator

* Streamlined existence checks

* Streamlined assignment. Removed redundant comment. Use null for array values

* Made prettier

* Relaxed type checking and improved comment

* Improve test coverage
Browse files
Changed paths2 files
First-parent comparison
M packages/react-dom/src/__tests__/ReactDOMServerIntegrationNewContext-test.js ModifiedM packages/react-dom/src/server/ReactPartialRenderer.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…