Overview of clj-statecharts features
masterclj-statecharts is a library for implementing State Machines and StateCharts in Clojure(Script), inspired by XState. It provides a declarative way to define complex state logic.
Key supported features include:
- Declarative statecharts definition: Define your machine logic as data.
- Compound (hierarchical) states: Support for nested state structures.
- Transition actions & Entry/Exit actions: Execute logic during state changes or when entering/exiting specific states.
- Guarded transitions: Conditional transitions based on specific criteria.
- Delayed transitions: Support for transitions that occur after a specified delay.
- re-frame integration: Built-in support for using statecharts within the re-frame ecosystem.