Thank you Leon,
I used your second solution and it works perfectly
2015-03-23 20:48 GMT+02:00 Leon Grapenthin :
> You can't close over the owner objet of a parent from within a
> subcomponent. That is because there is no guarantee that the subcomponent
> re-renders when the parent owner object i
You can't close over the owner objet of a parent from within a subcomponent.
That is because there is no guarantee that the subcomponent re-renders when the
parent owner object is replaced.
One solution would be to pass a callback handler to the subcomponent, e. g.
have a subcomponent
(fn [{:k
I ran into a similar error with losing focus. In my case it was because I was
generating a different react-id in an on-blur method. I ran your code, and
didn't see the id change. But (the reason I bring this up), I do see the same
behavior in the Chrome DOM explorer with your code as I did with