-
Notifications
You must be signed in to change notification settings - Fork 58
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
Updating from the outside #50
Comments
Asking about this because my current problem has been in my use for authentication. Where I store values in localStorage and some global states rely on those values. When a method changes the values and goes to a different route, the value remains unchanged until page is refreshed. When I set a delay with timeout though, it gets changed before getting to new route. But that also introduces some sorta race condition |
Your question is more a question about how to use React than it is about how to use this library. A broadcast's value is updated through its |
Thank you. |
Is there a way to update the broadcast value from a separate file. Perhaps inside a method? Having a broadcast set with channel and value, I think I'll like something like:
The text was updated successfully, but these errors were encountered: