xstate v5 beta parent machine not running or re-starting spawned actors in Nextjs #4147
Unanswered
murrowblue22
asked this question in
Q&A
Replies: 1 comment
-
Can you share a runnable code example that demonstrates the problem? Restoring persisted actors should work, so it may be a problem with your specific use-case or implementation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using xstate v5, and i want to be able to restore my parent machine that has spawned machines from local storage, but it does not work. In my app i have a parent machine that just stores child machines for my app that are lazy loaded into and array when the root path of a section of my web app is loaded.
the main code i'm using is
then later i use the following code to restore the machine, obviously i'm not putting all step just the key parts
however the restored machine does not run, nor does it start spawned child actors. My question is this a known bug in xstate v5, or am i trying to use functionality that is just not present
Beta Was this translation helpful? Give feedback.
All reactions