ion</a></h3>
<p>JSX is a syntax extension that enables you to write HTML tags interspersed with Javascript. It&#39;s not part of any Javascript standards and it&#39;s not required for building applications, but it may be more pleasing to use depending on your team&#39;s preferences.</p>
<pre><code class="lang-jsx">var MyComponent = {
  view: function() {
    return m(&quot;main&quot;, [
      m(&quot;h1&quot;, &quot;Hello world&quot;),
    ])
  }
}

// can be written as:
var MyComponent = {
  view: function