dillon1000/react
Commit
Browse files Move input valueTracker to DOM nodes (#10208)
* Move input valueTracker to DOM nodes This moves the storage of the input value tracker to the DOM node instead of the wrapperState. This makes it easier to support both Stack and Fiber without out a lot of ugly type casting and logic branches. related: #10207 * run prettier * remove instance accepting methods * rm unused trst method * address feedback * fix naming * fix lint
Changed paths6 files
First-parent comparisonscripts/fiber/tests-passing.txt ModifiedM src/renderers/dom/fiber/ReactDOMFiberComponent.js ModifiedM src/renderers/dom/shared/__tests__/inputValueTracking-test.js ModifiedM src/renderers/dom/shared/eventPlugins/ChangeEventPlugin.js ModifiedM src/renderers/dom/shared/inputValueTracking.js ModifiedM src/renderers/dom/stack/client/ReactDOMComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…