esolve to <code>UserForm</code> with an <code>id</code> of <code>&quot;1&quot;</code>. <code>/edit/2</code> would also resolve to <code>UserForm</code>, but with an <code>id</code> of <code>&quot;2&quot;</code>. And so on.</p>
<p>Let&#39;s implement the <code>UserForm</code> component so that it can respond to those route parameters:</p>
<pre><code class="lang-javascript">// src/views/UserForm.js
var m = require(&quot;mithril&quot;)

module.exports = {
    view: function() {
        return m(&quot;form&quot