anges
            m(m.route.Link, {href: &quot;/&quot;}),
            m(&quot;div&quot;, {
                onclick: function() {
                    m.route.set(&quot;/&quot;)
                }
            }),
        ]
    }
}

m.route(document.body, &quot;/&quot;, {
    &quot;/&quot;: RoutedComponent,
})</code></pre>
<hr>
<h3 id="when-mithril-does-not-redraw"><a href="#when-mithril-does-not-redraw">When Mithril does not redraw</a></h3>
<p>Mithril does not redraw after <code>setTimeout</code>, <code>setInt