Stent is combining the ideas of Redux with the concept of state machines.
State machine is a mathematical model of computation. It's an abstract concept where the machine may have different states but at a given time fulfills only one of them. It accepts input and based on that (plus its current state) transitions to another state. Isn't it familiar? Yes, it sounds like a front-end application. That's why this model/concept applies nicely to UI development.
Disclaimer: there are different types of state machines. I think the one that makes sense for front-end development is Mealy state machine.
The library is available as a npm module so
npm install stent or
yarn add stent will do the job. There's also a standalone version here (only core functionalities) which you can directly add to your page.
Stent is supported by Kuker Chrome extension. Just add the Stent emitter to your app and open the Kuker tab in Chrome's DevTools.
Stent is combining the ideas of redux with the concept of state machines
The npm package stent receives a total of 773 weekly downloads. As such, stent popularity was classified as not popular.
We found that stent demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.