state
Returns an object that contains the component state.
Returns
object The state.
Example
import { Component } from "combo-js";
const Example = new class extends Component {  
    created() {
        this.state = {
            name: "World"
        }
    } 
    render() {
        return `
            <div>Hello ${this.state.name}</div>
        `;
    }	 
}();
Example.mount(document.getElementById("root"));<div id="root"></div>Last updated
