Hi everyone,
I came across xstate-tree https://github.com/koordinates/xstate-tree
and that made me wonder if XState(or XState team) advocates for a way that we(the developers) should build/model our UI
#Does XState advocate to be used as a state management or a specific way to build UI
1 messages · Page 1 of 1 (latest)
I haven't personally used XState Tree (yet), so I can't say.
Hey, I'm the author of that library. We use it for local state management, but global state is still managed using something else (sometimes observables that multiple machines subscribe to, sometimes redux stores that have selectors turned into observables). Happy to answer any questions
Any reason you're not using xstate machines for your global state?