Javascript State Machine 3.0 RC1
Tue, Jan 10, 2017The javascript-state-machine library is having a major rewrite for version 3.0 in order to support more advanced use cases - as well as tidy up some of the existing ones. It is now available as a pre-release candidate for early adopters.
Installing
You can install the release candidate using npm:
npm install --save javascript-state-machine@3.0.0-rc.1
Highlights
- Improved Construction.
- Arbitrary Data and Methods.
- Observable Transitions
- Conditional Transitions
- Promise-based Asynchronous Transitions
- Improved Transition Lifecycle Events
- Goto State
- State History
- Visualization
- Webpack build system
Documentation
Additional documentation is available on github in the v3 branch:
- States and Transitions
- Data and Methods
- Lifecycle Events
- Asynchronous Transitions
- Initialization
- Error Handling
- State History
- Visualization
- State Machine Factory
Licensing
Please note that v3.0 is dual licensed under LGPLv3 for open source projects, while a commercial license is also available.