lo&quot;})

// Equivalent HTML
// &lt;div&gt;Hello&lt;/div&gt;
</code></pre>
<p>Be aware that when using ES5 functions, the value of <code>this</code> in nested anonymous functions is not the component instance. There are two recommended ways to get around this Javascript limitation, use ES6 arrow functions, or if ES6 is not available, use <code>vnode.state</code>.</p>
<hr>
<h3 id="avoid-anti-patterns"><a href="#avoid-anti-patterns">Avoid anti-patterns</a></h3>
<p>Although Mithril is flexible, some code pat