DEV Community

Discussion on: I am the author of Elm in Action. Ask Me Anything!

 
rtfeldman profile image
Richard Feldman

Right - if you use defaultValue to let the DOM's version of reality "take precedence" and use onInput to listen for changes, it's all good.

Unless you actually need to manually override that value! Then it's a pain. 🙂