selfawarestudio/picoapp

Event cleanup idea

Closed this issue · 1 comments

Proxy ctx.on to cache a Map of handlers and the parent context. Then on unmount, find all handlers that were registered within the parent context and un-register them.

Added in 3.3.0