onDone Not Triggering When fromPromise Completes its Work #4835
Unanswered
pubudithajayasekara
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently in the process of upgrading xState from version "xstate": "^4.38.3" to "xstate": "^5.9.1", following the migration document available here.
During this upgrade, I encountered an issue with one of my stateMachines, specifically related to the
invokefunction in initializing state. Although the async function for fetching users is correctly executed and outputs "fetch users success!" to the log, it does not transition to theonDonestate to execute the prefill action. Instead, it remains in the same state without proceeding further.I would appreciate any insights or assistance in resolving this issue. Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions