mqtt-react-hooks icon indicating copy to clipboard operation
mqtt-react-hooks copied to clipboard

fix: replace useSubscription hook with createSubscription factory

Open Aposhian opened this issue 3 years ago • 0 comments

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

Aposhian avatar May 24 '22 18:05 Aposhian