Skip to content
Simplified redux implementation for learning purposes. Not meant for Production use.
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
index.html
index.js
tiny-redux.js

README.md

tiny-redux

Simplified redux implementation for learning purposes. Not meant for Production use.

This is primarily meant to show what the core redux functions do in a simplified manner.

Study tiny-redux.js for the main redux library functions.
Study index.js for 2 very simple redux app examples (almost no abstractions).

You should be able to swap out tiny-redux.js with regular redux and everything should work just fine.

Loading this in a browser

If you're dying to run this...

Opening index.html in Chrome will work, but you'll need to use a webserver like https://www.npmjs.com/package/http-server to serve up the js files to get around CORS limitations (because of the script type="module").

Loading this in node.js

You could just paste tiny-redux.js into index.js and run node index.js

You can’t perform that action at this time.