CycleJS is a fully reactive JavaScript framework for Human-Computer Interaction
Cycle.js: a functional and reactive JavaScript framework for cleaner code.
Your app and the external world as a circuit:
Cycle’s core abstraction is that your application is a pure function: main()
. A function where inputs are read (sources) from the external world and outputs (sinks) are written to the external world. These side effects in the external world are managed by drivers: plugins that handle DOM effects, HTTP effects, and other side effects.
The internals of main()
are built using Reactive programming primitives, which maximize the separation of concerns, providing a clean and fully declarative way of organizing your code. The dataflow is plainly visible, making it easy to read and understand the code.