Brisky is a lightning fast js library for building state driven user interfaces.
npm install brisky
Brisky is a lightning fast universal js library for building state driven user interfaces.
It consist of multiple sub-modules, each module adding specific funcitonality
- brisky-events
- brisky-class
- brisky-style
- brisky-props
- brisky-focus
- brisky-core
``js
const render = require('brisky/render')
const element = {
$: 'person',
foo: {
text: {
$: 'name'
}
},
bar: {
text: {
$: 'age'
}
}
}
const state = {
person: {
name: "John",
age: 24
}
}
document.appendchild(render(element, state))
``