dex: 0}, [
    m(&quot;option&quot;, &quot;Option A&quot;),
    m(&quot;option&quot;, &quot;Option B&quot;),
])
</code></pre>
<hr>
<h3 id="components"><a href="#components">Components</a></h3>
<p><a href="components.html">Components</a> allow you to encapsulate logic into a unit and use it as if it was an element. They are the base for making large, scalable applications.</p>
<p>A component is any Javascript object that contains a <code>view</code> method. To consume a component, pass the component as the f