Hi, I am still a newbie so sorry in advance if I get something wrong! Assuming this is about reagent, I think you want to look into the create-class function along with the :component-will-update or the :component-did-update options, which is a way to trigger a function when the component re-renders (due to state change).
That code presumably changes the state by either user click or external update, so I think would do the trick. References: http://stackoverflow.com/questions/28410192/html-select-onchange-doesnt-fire-when-value-changes http://blog.ducky.io/reagent-docs/0.6.0-SNAPSHOT/reagent.core.html#var-create-class Ikuru -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/clojurescript.
