Fork me on GitHub

Well react assumes it has full ownership of the Dom of its components


If you just want to read the value of Dom element, you can use a ref callback


@pesterhazy, Thanks. I ran a pared down test, and when I changed the atom value in figwheel, got the following in the chrome dev console: "Warning: ReagentInput is changing an uncontrolled input of type text to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info:" Of course, I do dereference the atom even if not always writing it to the textbox's value attribute, but it is what it is, I guess.


Just to put this to bed, resetting the ratom in onchange did the trick, so thanks for that suggestion.