osureComponent() {
    return {
        view: function() {
            return m(&quot;main&quot;, [
                m(closureComponent)
            ])
        }
    }
}
</code></pre>
<h4 id="mixing-component-kinds"><a href="#mixing-component-kinds">Mixing component kinds</a></h4>
<p>Components can be freely mixed. A Class component can have closure or POJO components as children, etc...</p>
<hr>
<h3 id="state"><a href="#state">State</a></h3>
<p>Like all virtual DOM nodes, component vnodes can have state. Co