-
Beta Was this translation helpful? Give feedback.
Answered by
ogoffart
Feb 19, 2024
Replies: 1 comment 1 reply
-
Thanks for your question. Currently there is no purpose other than giving it a name for the developer to know what's the meening of the state. In the previous syntax, it was used to define transitions, but now the syntax don't need to repeat the state name. In the future, we could have state inheritance (#2089) or substates or sequence of states (#2255) in which case it will be usefull to be able to specify the state by name. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
shanliu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for your question.
(I moved it from issues to discussions because issues are for bug reports)
Currently there is no purpose other than giving it a name for the developer to know what's the meening of the state.
In the previous syntax, it was used to define transitions, but now the syntax don't need to repeat the state name.
In the future, we could have state inheritance (#2089) or substates or sequence of states (#2255) in which case it will be usefull to be able to specify the state by name.