dillon1000/react

Commit

Update the internal Fiber on the DOM node to always be the current

We need this to safely extract the current event listeners from the props.
Unfortunately, we are still not safe to use the return pointer since it
may not point to the current tree when the Fiber is reused. So this is not
fully done yet.
Browse files
Changed paths8 files
First-parent comparison
M scripts/fiber/tests-failing.txt ModifiedM scripts/fiber/tests-passing-except-dev.txt ModifiedM scripts/fiber/tests-passing.txt ModifiedM src/renderers/dom/fiber/ReactDOMFiber.js ModifiedM src/renderers/dom/fiber/wrappers/ReactDOMFiberInput.js ModifiedM src/renderers/shared/fiber/ReactFiberCommitWork.js ModifiedM src/renderers/shared/fiber/ReactFiberReconciler.js ModifiedM src/renderers/shared/shared/event/EventPluginHub.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…