You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the transition :event is fired on state :fsm/A, the expected order of actions dispatched should be
action2, action3, action1. In the given implementation, the order is action2, action1, action3.
The text was updated successfully, but these errors were encountered:
jiangts
changed the title
entry-actions should fire after action
entry-actions should fire after transition action
Jan 1, 2017
I don't agree. The transition is supposed to conceptually take zero time; in other words, the system is not in a valid state if you access it between states, and there is no context in which an action can take place.
I believe it is standard for the transition action to take place in the context of the target state, although it would be valid (but not equivalent) if the other choice (context of the source state) were made consistently throughout.
Suppose you're given the following configuration
When the transition
:event
is fired on state:fsm/A
, the expected order of actions dispatched should beaction2, action3, action1. In the given implementation, the order is action2, action1, action3.
The text was updated successfully, but these errors were encountered: