xstate Questions
2
I have a multi step form that basically has these basic steps: select services -> contact -> billing. I display a progress bar and emit events when the user changes the step they're on, and t...
Barfield asked 11/3, 2021 at 13:30
3
Solved
I am working on investigation of one front-end application of medium complexity. At this moment it is written in pure javascript, it has a lot of different event-based messages connecting few main ...
Rescript asked 1/2, 2019 at 15:41
3
Solved
I have a working cart state machine to add items in cart I'm using reactjs. On refreshing page, context is not persisted.I`m new to state machines and would like to persist state in my app.Below is...
Hass asked 21/5, 2020 at 12:17
2
I am just a little bit confused on what is the difference between actors and invoking services in xstate since they look just the same to me.
Elsyelton asked 12/3, 2021 at 13:57
1
Solved
I need send event to another spawned state machine that its ID I have as a string in a variable in the context. (it is not parent state machine and not child)
Like
context.sendTo = 'B_id'
how t...
Unrepair asked 1/4, 2020 at 19:53
0
I have extensively read the docs, however, there are still some parts that are not entirely clear, and most have to do with actors/services
I am a little fuzzy on the details of spawned actors' li...
Constructive asked 3/4, 2020 at 14:19
1
Solved
I am planning to use XState for managing states in the backend of my application. When an api is called, a function will be called on successful state change. The result of the function call has to...
1
Solved
I have a simple chatMachine that invokes a todoMachine. The todoMachine has an event called 'OPENED_TASK_LIST_CREATOR' which I want to invoke from chatMachine. I've managed to figure this out.
exp...
Houlihan asked 28/2, 2019 at 6:41
1
© 2022 - 2025 — McMap. All rights reserved.