Flow
Examples:
CDN
https://gitcdn.xyz/repo/sebjwallace/flow/master/dist/flow.js
NPM
npm install --save flow-core
Flow is a framework for building and rendering HTML & CSS using the power of Javascript & the virtual-dom.
color'#333'
Elements can be extended, to mixin styles, children or any other attribute.
var box = width'100%' background5080180 border1'solid''rgba(70,100,220)' color'blue'
Style and event declarations come in various forms.
event'onfocus' { console } style'text-decoration''line-through'
Styles can be directly manipulated from events.
Elements can communicate through actions. A common use is to change style of various elements from a single action.
Data can be transformed into text seamlessly.
var people = first: 'John' last: 'Doe' first: 'Jane' last: 'Doe'
Data can be updated from events by wrapping the virtual element in a function.
{ return textdata }