</code> receives the parameters of the new route as an argument.</p>
<h4 id="routeresolver"><a href="#routeresolver">RouteResolver</a></h4>
<p>A RouteResolver is a non-component object that contains an <code>onmatch</code> method and/or a <code>render</code> method. Both methods are optional, but at least one must be present.</p>
<p>If an object can be detected as a component (by the presence of a <code>view</code> method or by being a <code>function</code>/<code>class</code>), it will be treated as such ev