Dynamically invoke a machine #4415
Answered
by
zavx0z
martinschneider01
asked this question in
Q&A
-
Hi! I'm a really beginning user of xState, I was wondering if something like that would be possible in v5: I want to invoke a machine based on a parameter sent on an event. In a near future, I would like to choose between 8-10 different machines. It would be lovely if I could use invoke API such as "onDone" (when child machine reach an end state) or "onError" I saw that my question was already asked a few years ago, but I wonder if since v5 there is a better way to do that? Tried to look into v5 doc but I haven't found (or didn't understood fully) any solution |
Beta Was this translation helpful? Give feedback.
Answered by
zavx0z
Oct 30, 2023
Replies: 1 comment 1 reply
Answer selected by
martinschneider01
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
issues/4410