This is an example of using React with Bacon.React.HTML and Bacon.Atom to implement a reactive model and UI.
For some time now, we have actually been using this approach, namely
- storing state in mutable observable model objects,
- potentially using lenses to access such state,
- specifying all kinds of state dependent computations as Bacon streams and properties, and
- embedding such streams and properties directly into React Virtual DOM
in production. It just works.
To test locally
git clone https://github.com/calmm-js/bral-todomvc.git
cd bral-todomvc
npm install
and then open docs/index.html
.