Skip to content

marianoguerra-atik/react-redux-no-redux-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Redux Demo, No Redux

Simple demo to show how to have a redux like application using only ImmutableJS and a small subset of reactjs (which could be replaced with preact, infernojs or any other react compatible library).

A redux-like pattern inspired by re-frame is implemented in the aflux.js file, the app is implemented in app.js

The build process is implemented using a Makefile.

Note: this repo is in marianoguerra-atik because it was a demo for a talk and I don't plan to update it.

You can see the slides from the talk here

the tsort.js file has some sample code to implement topological sorting to decide in which order to minify a tree of module dependencies so that every module loads after all its dependencies, it was used as an example in the talk to show how you could replace requirejs if you where a NIH fan.

Try

Clone this repo and run any http server at the root, if you have python 2 installed:

python -m SimpleHTTPServer

if you have python 3 installed:

python3 -m http.server

and open http://localhost:8000 in your browser.

or just visit the demo from the presentation here: http://marianoguerra.github.io/presentations/stuttgartjs-meetup-react-redux-no-tools/demo/

Author

Mariano Guerra

License

MIT

About

Simple demo of how to achieve many things provided by react and redux using no tools, only functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published