Open
Description
Describe the bug
Thanks for a great library! If the following issue is as intended please disregard.
When a component with useChannel and useEvent is unmounted, the channel is unsubscribed from although other components are still subscribed. Thus subsequent events are not caught in the still mounted components.
This can be avoided by reorganising the component tree but seems hard to future proof.
To Reproduce
I will be happy to make a code sandbox but I'm not sure which Pusher app to connect to etc? Is the idea that I make the sandbox with placeholders and you enter your keys?
Metadata
Metadata
Assignees
Labels
No labels