Tembo
Tembo is my own react-like rendering engine implementation in 4kb.
Live Demo / Performance Test
API
Tembo.createClass(componentSpec)
const Message = Tembo.createClass({
getInitialState: function() {
return {
message: 'Hello Word'
}
},
render: function() {
return Tembo.createElement('div', {}, this.state.message)
}
})
Tembo.createElement(temboComponentClass || domNodeName,props,children)
Tembo.createElement('div', {}, 'hello world')
Tembo.render(temboComponent, DOMNode)
const component = Tembo.createElement(myMessage, {}, false)
Tembo.render(component, document.getElementById('content'))