trategy</a> used by Mithril.</td>
</tr>
<tr>
<td><strong>returns</strong></td>
<td></td>
<td></td>
<td>Returns <code>undefined</code></td>
</tr>
</tbody></table>
<h5 id="mroutelink"><a href="#mroutelink">m.route.link</a></h5>
<p>This function can be used as the <code>oncreate</code> (and <code>onupdate</code>) hook in a <code>m(&quot;a&quot;)</code> vnode:</p>
<pre><code class="language-JS">m(&quot;a[href=/]&quot;, {oncreate: m.route.link})</code></pre>
<p>Using <code>m.route.link</code> as a <code>oncreate