Do not join this community! (We've moved.)
Hi. In light of spectrum becoming read only, and this amazing crew of people who understand how to model complex behaviour (or want to), I don't want to leave you in the read-only state. So please humbly accept this "redirect" event so that you might transition to the awesome…
[New forum] Time for some House Warming at the new forum?
Hi all, don't forget to head over to the new forum over at github that @mogsie(mogsie) kindly put together. It's already getting cozy with links to classic statecharts papers and all :-) Then why not do some House Warming activities, like writing a short self-intro, telling what…
Send latest ctx to service
I'm working on a circuit training app, that generates 5-8 minute ab workouts. The circuit timer is a "smart service" that dispatches events based on the time remaining for a given exercise.
It dispatches the following …
It feels like there must be a lot of XState machines that devs have made that could be reused by other developers. Is there any system set up for sharing these machines? I am thinking machines that you could reference (via npm or similar), that comes pre-made, and that you can…
XState React: Pass machine state into child components
Hello guys, I'm finding a way to share machine state between mutiple components, I'm thinking about React Context API. Do you have any better solution?
How to model a network request with statecharts events?
Say if we are doing a network query to fetch something from internet, and we have two states: "LOADING", and "DONE". Then after the response is received, a transition from "LOADING" to "DONE" will be triggered. My question is: should we model this transition with two events…
XState Viz Tool: Method to prevent Overlap of Arrows on States
Is there any way in which we can avoid the overlaps of arrows and states in the Viz tool?
XState: state call actions then transition to another state
Hello guys, I'm finding a solution for the below issue:
This is my state
When got event TOGGLE_SORT_LOCATION_NAME, I will action toggleSortLocationName, after toggleSortLocationName finished update context, I want to transition to getLocations. …
[OT] Alternative way to visualize states :-)
Each State Perfectly Portrayed By One Photograph
Happy Easter everyone!
[Statechart theory] Towards composable statecharts
Programming with Statecharts is awesome; they bring a logical visualizable structure to reactive software such as UI, reducing technical debt and enabling performing changes and extensions with confidence. But, awesome as they are, they do not compose: You can not build a big…