</code> passed to <code>m.route.set</code> when the link is clicked by calling the function in the lifecycle methods:</p>
<pre><code class="language-JS">m(&quot;a[href=/]&quot;, {oncreate: m.route.link({replace: true})})</code></pre>
<p><code>m.route.link(args)</code></p>
<table>
<thead>
<tr>
<th>Argument</th>
<th>Type</th>
<th>Required</th>
<th>Description</th>
</tr>
</thead>
<tbody><tr>
<td><code>args</code></td>
<td><code>Vnode&#124;Object</code></td>
<td>Yes</td>
<td>This method is meant to be used as o