(i.e. left intact if it has no changes), and only the change from <code>Home</code> to <code>Form</code> triggers a recreation of that subsection of the DOM.</p>
<hr>
<h4 id="authentication"><a href="#authentication">Authentication</a></h4>
<p>The RouteResolver&#39;s <code>onmatch</code> hook can be used to run logic before the top level component in a route is initialized. The example below shows how to implement a login wall that prevents users from seeing the <code>/secret</code> page unless they login.<