Skip to content
/ stent Public

Stent is combining the ideas of redux with the concept of state machines

License

Notifications You must be signed in to change notification settings

krasimir/stent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Krasimir Tsonev
Aug 19, 2020
b1d895a · Aug 19, 2020
Sep 24, 2017
Oct 22, 2017
Oct 11, 2018
Oct 11, 2018
Aug 19, 2020
Aug 19, 2020
Aug 14, 2020
Jul 27, 2020
Aug 30, 2019
Oct 22, 2017
Sep 2, 2017
Oct 11, 2018
Sep 9, 2017
Oct 11, 2018
Sep 10, 2017
Jun 18, 2020
Aug 16, 2017
Feb 23, 2018
Aug 19, 2020
Aug 30, 2019

Repository files navigation

Stent - brings the power of state machines to the web

Stent is combining the ideas of Redux with the concept of state machines.

Travis npm downloads

Chat: https://gitter.im/stentjs


A few words about 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.

Installation

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.

Documentaion

Debugging apps made with Stent

Stent is supported by Kuker Chrome extension. Just add the Stent emitter to your app and open the Kuker tab in Chrome's DevTools.

Kuker

Must-read articles/resources

Other libraries dealing with state machines

About

Stent is combining the ideas of redux with the concept of state machines

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published