DEV Community

loading...

A simple (and small ~1kb) redux inspired reducer for handling state, actions, reactions..

alexfoxy profile image Alex Fox ・1 min read

Made this because I like the flux/redux ideology but hate the boiler plate and added dependancies. I thought I'd have a crack at taking the same concept and making a simpler implementation.

Works well with React & React Native but can be combined with any front end library, or even vanilla JS template literals.

Github: https://github.com/alexfoxy/juicr.js
React ToDo Example: https://codepen.io/alexfoxy/pen/eowpdb
Vanilla JS ToDo Example: https://codepen.io/alexfoxy/pen/wZLWpp

Discussion (0)

Forem Open with the Forem app