 users from the model we created earlier (<code>User.list</code>) to dynamically loop through data:</p>
<pre><code class="lang-javascript">// src/views/UserList.js
var m = require(&quot;mithril&quot;)
var User = require(&quot;../models/User&quot;)

module.exports = {
    view: function() {
        return m(&quot;.user-list&quot;, User.list.map(function(user) {
            return m(&quot;.user-list-item&quot;, user.firstName + &quot; &quot; + user.lastName)
        }))
    }
}
</code></pre>
<p>Since <code>Us