how do i maintain a global state ? #5167
Unanswered
hrahul2605
asked this question in
Q&A
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i am not sure how we maintain a global state here. actors are local in nature and have their own internal state, so assuming i want to create custom hooks based on different property in my context values, i will have to spin up more than 2-3 actors and send events across to maintain all the actors state.
i want to be able to access the state(context) values reactively in different components, without creating so many actors or rather how do i setup a global state and access different context property values in multiple components ? do we have some example that i can refer to
Beta Was this translation helpful? Give feedback.
All reactions