Tembo is my own react-like rendering engine implementation in 4kb.
const Message = Tembo.createClass({
getInitialState: function() {
return {
message: 'Hello Word'
}
},
render: function() {
return Tembo.createElement('div', {}, this.state.message)
}
})
Tembo.createElement('div', {}, 'hello world')
const component = Tembo.createElement(myMessage, {}, false)
Tembo.render(component, document.getElementById('content'))