it leaves a lot of the power of XState on the table
True! But with great power comes great responsibility. Sticking within the guidelines above is a great first step for introducing XState to a codebase.
Context for global state
Yes! This is used in the example above. XState is an amazing tool for orchestrating global state (some of the most important state in your app) because it is so robust. I've used this pattern a dozen times or so in production code.
True! But with great power comes great responsibility. Sticking within the guidelines above is a great first step for introducing XState to a codebase.
Yes! This is used in the example above. XState is an amazing tool for orchestrating global state (some of the most important state in your app) because it is so robust. I've used this pattern a dozen times or so in production code.
I totally agree!
Yup for sure, I'm looking forward to it becoming more widely used for this. Thanks for your work!