tName)
        }))
    }
}
</code></pre>
<p>Notice that we added an <code>oninit</code> method to the component, which references <code>User.loadList</code>. This means that when the component initializes, User.loadList will be called, triggering an XHR request. When the server returns a response, <code>User.list</code> gets populated.</p>
<p>Also notice we <strong>didn&#39;t</strong> do <code>oninit: User.loadList()</code> (with parentheses at the end). The difference is that <code>oninit: User.loadList()<