Saibo
A simple library for reactive programming
Saibo lets you make a network of cells (like a key-value store).
Cells can either hold a value, or a formula that derives their value from other cells.
Cells can trigger event listeners when their values change.
Formulas can use values from other cells, with their values updating and triggering event handler when cells they depend on change.
Cells can have a timer function to set their value at a regular interval.
var cells = ; cells;cells; console; // 10 // calculate area from width * heightcells ; // when area changes, call functioncells; cells; // Area 200
cells; cells ;