Skip to content

ionic234/ngx-fsm-rx-examples

Repository files navigation

NgxFsmRxExamples

About

Deep dive articles and Angular examples of NgxFsmRx, an Angular wrapper around FsmRx, a Finite State Machine built upon RxJS and Typescript.

What is FsmRx

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.

Related projects

  • FsmRx: Core FsmRx package
  • NgxFsmRx: An Angular Wrapper for FsmRx

Further Documentation

For full documentation see:

View Online

The examples and articles contained in this project can be viewed online here.

Installation

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

Get in contact

Submit a bug report

Please visit github/issues to submit a bug report or feature request.

Community

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published