Awesome, thanks! M
On Tuesday, April 21, 2015 at 4:17:30 PM UTC-7, Mike Thompson wrote: > On Wednesday, April 22, 2015 at 6:18:34 AM UTC+10, Matt Ho wrote: > > First off, thanks for putting together such a wonderful framework in > > reframe. We've been using it pretty extensively and loving it. One > > question came up recently though. > > > > Subscribing to an event is straightforward enough, but how do I > > unsubscribe? Specifically, when the component that's called the > > subscription gets unmounted, it seems like the subscription might be > > lingering around in the key->fn map. Is this really the case or am I > > missing something? How should one handle cases where subscribed components > > get unmounted? > > > > Thanks! > > > > M > > > You shouldn't need to explicitly unsubscribe. When the component gets > unmounted, it should happen automatically. (Assuming you are using a form-2 > component). > > -- > Mike -- 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.
