riot-js

Open full view…

ref/refs

martymarty
Tue, 13 Dec 2016 16:01:34 GMT

I seem to have the following problem with refs. It appears I can only bind to a ref during the mount event. When I do an update, if I bind a click event on the ref in the mount, I loose the click binding when I do an update. It works once. It feels like the refs should be available on the update event also so I can put my click binding there.