Deep dive articles and Angular examples of NgxFsmRx, an Angular wrapper around FsmRx, a Finite State Machine built upon RxJS and Typescript.
FsmRx allows developers to organise code into discrete states, each with their own strongly typed dataset. Transitions between these states are governed by an allowlist giving developers more control and visibility over program flow. Transitions also support the lifecycle hooks onLeave, onEnter and onUpdate. These callbacks are supplied data scoped to the relevant transition states and can be used for the implementation of any required build-up and teardown of state-specific interactions, logic, or calls.
FsmRx greatly reduces code complexity, speeding up development time while resulting in easier-to-maintain bug-free code.
Please visit here for a deep dive into all FsmRx has to offer.
For full documentation see:
The examples and articles contained in this project can be viewed online here.
To run the project first clone the repository.
git clone git@github.com:ionic234/ngx-fsm-rx-examples.git
In the cloned folder install the npm packages and run the storybook playground
npm i
npm run storybook
Please visit github/issues to submit a bug report or feature request.
For the latest news and community discussions please visit the github/discussions in the core FsmRx package. This is done to not split the community.