dillon1000/react

Commit

HostText needs to copy over from current if it is unchanged in persistent mode (#17538)

stateNode is not one of the fields that gets copied over by createWorkInProgress.

This is bad for persistent mode since it's not the same instance.

In HostComponent we happened to always end up transferring the current stateNode when we bail.
However, we didn't do this for HostText.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-reconciler/src/ReactFiberCompleteWork.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…