quot;My first app&quot;),
    m(&quot;button&quot;, &quot;A button&quot;),
])
</code></pre>
<p>Note: If you prefer <code>&lt;html&gt;</code> syntax, <a href="jsx.html">it&#39;s possible to use it via a Babel plugin</a>.</p>
<pre><code class="lang-jsx">// HTML syntax via Babel&#39;s JSX plugin
&lt;main&gt;
    &lt;h1 class=&quot;title&quot;&gt;My first app&lt;/h1&gt;
    &lt;button&gt;A button&lt;/button&gt;
&lt;/main&gt;
</code></pre>
<hr>
<h3 id="components">Components</h3>
<p>A Mithril component is just a