ks&quot;),
        ])
    }
}
</code></pre>
<p>Clicking the button should now update the count.</p>
<hr>
<p>We covered how to create and update HTML, how to create components, routes for a Single Page Application, and interacted with a server via XHR.</p>
<p>This should be enough to get you started writing the frontend for a real application. Now that you are comfortable with the basics of the Mithril API, <a href="simple-application.html">be sure to check out the simple application tutorial</a>, which walk