What is Mithril?
An easy way to try out Mithril is to include it from a CDN and follow this tutorial. It’ll cover the majority of the API surface (including routing and XHR) but it’ll only take 10 minutes.
Let’s create an HTML file to follow along:
<body> <script src="https://unpkg.com/mithril/mithril.js"></script> <script> var root = document.body // your code goes here! </script> </body>