3 ms·
I mean, I don’t think it’s designed to “put an input on the page”. Tracking things like hover, dirty and pristine states, sync and async validation, etc, is an
by danabramov 8y ago
I mean, I don’t think it’s designed to “put an input on the page”. Tracking things like hover, dirty and pristine states, sync and async validation, etc, is an inherently complex problem.
If you just want to put an input on the page, that’s just three lines with React. (Especially with Hooks.)
- latchkey 8y agoReading the documentation again, I just remembered this page: https://reactjs.org/docs/forms.html https://reactjs.org/docs/forms.html Makes my point (happily) moot. You're right. Sorry for the trouble.