 id="making-templates-dynamic"><a href="#making-templates-dynamic">Making templates dynamic</a></h3>
<p>Since nested vnodes are just plain Javascript expressions, you can simply use Javascript facilities to manipulate them</p>
<h4 id="dynamic-text"><a href="#dynamic-text">Dynamic text</a></h4>
<pre><code class="lang-javascript">var user = {name: &quot;John&quot;}

m(&quot;.name&quot;, user.name) // &lt;div class=&quot;name&quot;&gt;John&lt;/div&gt;
</code></pre>
<h4 id="loops"><a href="#loops">Loops</a></h4