paint-brush
A Finite State Machine Helper for Reduxby@maxheiber
5,063 reads
5,063 reads

A Finite State Machine Helper for Redux

by Max Heiber2mSeptember 3rd, 2016
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

I’ve noticed that <a href="http://redux.js.org/" target="_blank">Redux</a> apps often embed ad-hoc <a href="https://en.wikipedia.org/wiki/Finite-state_machine#Example:_coin-operated_turnstile" target="_blank">finite state machines</a>, with information about the current status spread out throughout <a href="http://redux.js.org/docs/basics/Reducers.html" target="_blank">reducers</a>. I wrote a small helper for working with finite state machines in <a href="https://hackernoon.com/tagged/redux" target="_blank">Redux</a> called <a href="https://www.npmjs.com/package/redux-machine" target="_blank">redux-machine</a>. In this post, I’ll go into:

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - A Finite State Machine Helper for Redux
Max Heiber HackerNoon profile picture
Max Heiber

Max Heiber

@maxheiber

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite