Hm, interested in hearing more about the issue with value and how it's affected with requestAnimationFrame batching. Is that to say if a text field isn't "bound" to the model with key presses, relying on the DOM to keep state, there will be inconsistencies?
Hm, interested in hearing more about the issue with
valueand how it's affected withrequestAnimationFramebatching. Is that to say if a text field isn't "bound" to the model with key presses, relying on the DOM to keep state, there will be inconsistencies?Right - if you use
defaultValueto let the DOM's version of reality "take precedence" and useonInputto listen for changes, it's all good.Unless you actually need to manually override that value! Then it's a pain. 🙂