Awesome, thanks for the tip! Very helpful.
On 4 July 2014 14:42, William Sommers <[email protected]> wrote: > Hey ya'll, > > On the React channel I started asking a bit about SyntheticEvents and why > I was not able to see the full event information, similar to a native > event, when an event is logged to the console. Events apparently are > allocated from a pool of objects and are wiped and returned to the pool > with each tick of the event loop. This is to prevent GC cycles when > receiving high throughput objects from mouse position, for example. > > Not documented in React, yet, is that you can call .persist() on the event > to prevent the SyntheticEvent from being returned to the pool. This will > allow you to log it to the console or put the event onto a channel. > > Will > > -- > 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 http://groups.google.com/group/clojurescript. > -- 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 http://groups.google.com/group/clojurescript.
