Replacement of state.history is xstate v5 #5288
Unanswered
elsetenbroeke
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
In xstate v4 in actions in the statemachine I used to be able to access the
history
like so:What is the replacement of this in xstate v5? I saw this in the migration docs, but I was hoping that within the state machine there is still an easier way to access the history instead of saving it to the context for example 🤔
Beta Was this translation helpful? Give feedback.
All reactions