ent, null)</code> on an element with a previously mounted component unmounts it and cleans up Mithril internal state. This can be useful to prevent memory leaks when removing the <code>root</code> node manually from the DOM.</p>
<hr>
<h3 id="performance-considerations"><a href="#performance-considerations">Performance considerations</a></h3>
<p>It may seem wasteful to generate a vnode tree on every redraw, but as it turns out, creating and comparing Javascript data structures is surprisingly cheap compared 