pt syntax before the code can be run. To facilitate this, you can <a href=https://arthurclemens.github.io/mithril-template-converter/index.html>use the HTML-to-Mithril-template converter</a>.</p>
<hr>
<h3 id=avoid-anti-patterns><a href=#avoid-anti-patterns>Avoid Anti-patterns</a></h3>
<p>Although Mithril is flexible, some code patterns are discouraged:</p>
<h4 id=avoid-dynamic-selectors><a href=#avoid-dynamic-selectors>Avoid dynamic selectors</a></h4>
<p>Different DOM elements have different attributes, and