Raj
The Elm Architecture for JavaScript
Features
-
Testability
Raj is a state management solution focused on testability. Following the program pattern utilized by Raj leads to better separated concerns, simpler logic, and easier tests.
-
Small and understandable
Raj is 40 lines; 236 bytes minified but not yet gzipped. With a minimal footprint, Raj lets us build libraries and applications that will outlive the latest trends.
-
Replaceable
Raj provides the smallest core possible and you build only what you need. If it does not work for your use case, get rid of it.
-
Bring your own view
Raj does not lock you into a view layer. As far as Raj is concerned the view is just a side effect of state.
Resources
Ecosystem
-
raj-compose
Program composition. Applications assemble from small programs.
-
raj-react
React bindings to integrate Raj's runtime into the React ecosystem.
-
raj-spa
Single page applications, coordinating navigation and views.
-
raj-web-debugger
Time traveling debugger to pause, play, and rewind programs.