Skip to content
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kanru
Comment options

Answer selected by shanliu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #4635 on February 19, 2024 08:57.