y</code> changes and causes the component to be recreated from scratch (since the key tells the virtual dom engine that old and new components are different entities).</p>
<p>You can take that idea further to create components that recreate themselves when reloaded:</p>
<p><code>m.route.set(m.route.get(), {key: Date.now()})</code></p>
<p>Or even use the <a href="#history-state"><code>history state</code></a> feature to achieve reloadable components without polluting the URL:</p>
<p><code>m.route.set(m.route