dillon1000/react

Commit

Backwards compatibility for string refs on WWW (#28826)

Seeing errors with undefined string ref values when trying to sync
https://github.com/facebook/react/pull/28473

Added a test that reproduces the failing pattern.

@acdlite pushed
https://github.com/facebook/react/pull/28826/commits/a786481ae5702f1966ecdb62f3667f3d72966e78
with fix

---------

Co-authored-by: Jack Pope <[email protected]>
Co-authored-by: Andrew Clark <[email protected]>
Browse files
Changed paths3 files
First-parent comparison
M packages/react-dom/src/__tests__/ReactComponent-test.js ModifiedM packages/react-reconciler/src/ReactFiberBeginWork.js ModifiedM packages/react/src/jsx/ReactJSXElement.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…