transition happens on first place without sending any action #2589
Unanswered
hosseind88
asked this question in
General
Replies: 1 comment 3 replies
-
If I understand your issue correctly it's because the callback given to xstate/packages/core/src/interpreter.ts Lines 327 to 330 in 8d7a02e Maybe it's something worth reconsidering for the next major version, after all - no transition is happening at that moment so calling that callback immediately can be confusing. cc @davidkpiano |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
we are using this document https://xstate.js.org/docs/packages/xstate-vue/#configuring-machines for our vue application to start working with xstate, and as we did put a console.log on
onTransiton
function body, we see that when we load the page, a transition happens and our console.log is calledBeta Was this translation helpful? Give feedback.
All reactions