Closed shader closed 7 years ago
re-com is often used within re-frame which will be providing subscriptions rather than ratoms, so this default could lead to errors which are difficult to understand. Our philosophy is that it's better to be specific in this case.
Closing
It would be super convenient if the on-change handler for input-text, etc. defaulted to
#(reset! model %)
whenever model is an atom.Admittedly there will be many cases where that is not the desired action, but it seems like a reasonable default that can be easily overridden.