dillon1000/react
Commit
Browse files Read "current" props from the node instead of the Fiber (#8839)
It's not just events that read the current props. Controlled components do as well. Since we're no longer updating the Fiber pointer during updates we have to instead read from the node props to get the current props. Since this method is no longer just used for events I renamed it.
Changed paths9 files
First-parent comparisonscripts/fiber/tests-failing.txt ModifiedM scripts/fiber/tests-passing.txt ModifiedM src/renderers/dom/fiber/ReactDOMFiber.js ModifiedM src/renderers/dom/shared/ReactDOMComponentTree.js ModifiedM src/renderers/native/ReactNativeComponentTree.js ModifiedM src/renderers/native/ReactNativeFiber.js ModifiedM src/renderers/shared/shared/event/EventPluginHub.js ModifiedM src/renderers/shared/shared/event/EventPluginUtils.js ModifiedM src/renderers/shared/shared/event/ReactControlledComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…