Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration from 0.4.x -> 1.x #108

Open
dylmye opened this issue Oct 14, 2022 · 2 comments
Open

Migration from 0.4.x -> 1.x #108

dylmye opened this issue Oct 14, 2022 · 2 comments

Comments

@dylmye
Copy link

dylmye commented Oct 14, 2022

Hi! I'm working on upgrading our usage of this package from 0.4.x to the latest version. I don't see anything major in the commit list. Is there anything I need to change in my usage of the package for 1.x? The changelog doesn't cover pre-1.x versions.
Thanks!

@walterholohan
Copy link
Collaborator

@dylmye I think you should be fine. Typescript should pick up an errors with changes in the definitions

@dylmye
Copy link
Author

dylmye commented Oct 17, 2022

Seems like the major thing is the way to subscribe to events has changed. Our code is using methods like subscribeToWatchReachability, subscribeToWatchState, subscribeToMessages, and it seems like this was removed after 0.5.0 in favour of hooks & eventlisteners, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants