Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

fix: replace useSubscription hook with createSubscription factory #55

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Aposhian
Copy link
Contributor

In order to provide stateful subscriptions that don't get reset with every message receipt, there
needs to be a separation of subscription components

BREAKING CHANGE: useSubscription no longer exists. use createSubscription instead.

fix #54

In order to provide stateful subscriptions that don't get reset with every message receipt, there
needs to be a separation of subscription components

BREAKING CHANGE: useSubscription no longer exists. use createSubscription instead.

fix VictorHAS#54
@VictorHAS VictorHAS self-requested a review May 24, 2022 20:48
@VictorHAS VictorHAS added the enhancement New feature or request label May 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

useSubscription resubscribes on each message received
2 participants