Skip to content

matches function on state prototype #44

@cassiozen

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.

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