 MyComponent)</code></pre>
<p>You can disable an auto-redraw for specific events by setting <code>e.redraw</code> to <code>false</code>.</p>
<pre><code class="language-javascript">var MyComponent = {
    view: function() {
        return m(&quot;div&quot;, {onclick: doSomething})
    }
}

function doSomething(e) {
    e.redraw = false
    // no longer triggers a redraw when the div is clicked
}

m.mount(document.body, MyComponent)</code></pre>
<h3 id="after-mrequest"><a href="#after-mrequest">After m.reques