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

Add state update subscription mechanism on Transition Controller #26

Merged
merged 2 commits into from
Oct 4, 2021

Conversation

syaau
Copy link
Contributor

@syaau syaau commented Oct 4, 2021

Expose low level api to useState that would allow listening to state updates without performing a state re-render. We are going to use this to listen to GameStatus updates in games-common.

syaau added 2 commits October 4, 2021 16:20
This function would be helpful to listen for state changes
without performing state updates and rerendering the
component. This is a low level access to useState in
TransitionController.
@syaau syaau merged commit 3bf1a4d into Bhoos:master Oct 4, 2021
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

Successfully merging this pull request may close these issues.

1 participant