dillon1000/react
Commit
Browse files 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.
Changed paths1 file
First-parent comparisonpackages/react-reconciler/src/ReactFiberCompleteWork.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…