o <code>/page/2</code> given a route <code>/page/:id</code>, the component would not be recreated from scratch since both routes resolve to the same component, and thus result in a virtual dom in-place diff. This has the side-effect of triggering the <code>onupdate</code> hook, rather than <code>oninit</code>/<code>oncreate</code>. However, it&#39;s relatively common for a developer to want to synchronize the recreation of the component to the route change event.</p>
<p>To achieve that, it&#39;s possible to