Didn't use the use-subscription package for now, didn't know about it but will take a look.
Also didn't invest in tests because there's not yet any test infra, not much time, and this project is probably only temporary until people use the v5. But those hooks will be used in my app right now so I'm pretty confident to see if something breaks.
@satya164 does it feel ok?
Didn't use the use-subscription package for now, didn't know about it but will take a look.
Also didn't invest in tests because there's not yet any test infra, not much time, and this project is probably only temporary until people use the v5. But those hooks will be used in my app right now so I'm pretty confident to see if something breaks.
Will add some doc too.