dillon1000/react
Commit
Browse files Ensure that we're listening to all onChange dependencies for controlled inputs (#8229)
When there is no onChange event handler, we should still listen to it to ensure controlled values get reset. There is warning associated with this but the prod behavior should still be respected.
Changed paths2 files
First-parent comparisonsrc/renderers/dom/shared/wrappers/__tests__/ReactDOMInput-test.js ModifiedM src/renderers/dom/stack/client/ReactDOMComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…