menu

Statecharts

Statecharts are a precise, visual way of modeling the behaviour of complex reactive systems. They describe how things work, and can help you get your code doing exactly what you want.

Channels
Team
Posts
Members
Info

Hi all!

I'm new to xstate but loving it so far compared to redux...

thumbsup
2
message-simple
2

Does XState support the UML equivalent of EntryPoints and ExitPoints?

https://www.uml-diagrams.org/state-machine-diagrams.html

thumbsup
0
message-simple
4

Henning Sato von Rosen

Hi all, I live in Sweden and study web Design. I'm especially interested in User Interface Construction, especially highly dynamic ones. I have some CS background, but I'm having a very hard time trying to write readable bottom-up code: When more than 20 lines, I'm lost and…

thumbsup
1
message-simple
9

Architecture of a Soundcloud-like platform based only on XState?

Dear @davidkpiano, Hello community, I tried out XState, what an amazing tool! We want to use it in our upcoming StartUp, a spatial audio platform for Higher Order Ambisonics. Basically a rewrite of Soundcloud not in stereo but with Ambisonics. Due to its complexity, the player…

thumbsup
1
message-simple
5

Error when firing an event on a machine with no explicit final state

Hello everyone, I'm rather new to xstate and I'm not sure if this is the right place to ask for some quick help. Does anybody have any ideas what could be going on?

thumbsup
0
message-simple
3

Hello

Hello everyone, I'm Diego from Chile and I'm currently learning about programming, state machines and graphs. I'm also currently writing a script that take a "state transition table" (STATE input STATE) to render a diagram and generate a xstate machine config. Examples: …

thumbsup
3
message-simple
2

XState - Eventless Transitions to the child state

Hello everyone, I'm learning XState and I stucked. I hope someone can point me what I'm doing wrong. My machine have 2 states: 'opened' and 'closed'. 'opened' has 2 child states beforeSubmit and afterSubmit. I want to redirect to one of these child when the machine enters opened…

thumbsup
0
message-simple
2

problem setting initial context data with xstate

Hi XSTATE experts, I created an XState as a skeleton template then extend it using withContext and withConfig to build it up. I failed using withContext to set data into context objet nor able to add new data to context object. No TS compile errors but run time showed context…

thumbsup
0
message-simple
5

typescript errors when defining invoke on local system but not sandbox

Hi experts, I am having typescript errors when adding invoke: {} to my state machine. However the same codes worked well on code sandbox but not my local nodejs with visual code editor. simple codes like this: const x = Machine({ …

thumbsup
0
message-simple
13

xState newbie struggles accessing state meta data

Hi there... I setup a FSM with all states, actions, guards, context and state level meta defined following tutorial from state doc page. I started Machine with interpret and it started fine. Events were sent and confirmed states transitioning accordingly. I struggled to access…

thumbsup
0
message-simple
13