utes</code> object.</p>
<p>In <code>v1.x</code>, components are required instead in both cases.</p>
<h3 id="v02x9"><a href="#v02x9"><code>v0.2.x</code></a></h3>
<pre><code class="lang-javascript">m.mount(element, m(&#39;i&#39;, &#39;hello&#39;))
m.mount(element, m(Component, attrs))

m.route(element, &#39;/&#39;, {
    &#39;/&#39;: m(&#39;b&#39;, &#39;bye&#39;)
})
</code></pre>
<h3 id="v1x9"><a href="#v1x9"><code>v1.x</code></a></h3>
<pre><code class="lang-javascript">m.mount(element, {view: function () {re