g>returns</strong></td>
<td><code>Component&#124;Promise<Component>&#124;undefined</code></td>
<td>Returns a component or a promise that resolves to a component</td>
</tr>
</tbody></table>
<p>If <code>onmatch</code> returns a component or a promise that resolves to a component, this component is used as the <code>vnode.tag</code> for the first argument in the RouteResolver&#39;s <code>render</code> method. Otherwise, <code>vnode.tag</code> is set to <code>&quot;div&quot;</code>. Similarly, if the <code>onma