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 first argument to <code>m()</code> instead of passing a CSS selector string. You can pass arguments to the 