Skip to content

matches function on state prototype #44

Description

@cassiozen

Right now the state value is always a string, but since we plan to introduce hierarchical fsms in the future (#21), state values might be represented differently.

Adding a 'matches' function on the machine state prototype (like XState) will give users a consistent and easy way to derive ui from the machine state.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions