ter more callbacks to run after the completion of the XHR request.</p>
<p>This simple model exposes two members: <code>User.list</code> (an array of user objects), and <code>User.loadList</code> (a method that populates <code>User.list</code> with server data).</p>
<hr>
<p>Now, let&#39;s create a view module so that we can display data from our User model module.</p>
<p>Create a file called <code>src/views/UserList.js</code>. First, let&#39;s include Mithril and our model, since we&#39;ll need to use both:<