e>mount(element, OtherComponent)</code> where <code>element</code> is a current mount point replaces the component previously mounted with <code>OtherComponent</code>.</p>
<h4 id="unmount"><a href="#unmount">Unmount</a></h4>
<p>Using <code>m.mount(element, 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-consid