Components are written in pug.js, one of the cleanest ways of writing HTML templates!
All state mutations from components are to be emitted on the event bus, resulting in predictable data flow.
Simply modify a property on the state object to result in an instant update to the DOM tree.
Minified & gzipped fig.js distribution weight lies somewhere in the neighborhood of 5kB.
This editor was built using fig!