 multiple sets of children, for example, if a component has a configurable title and body.</p>
<p>Avoid destructuring the <code>children</code> property for this purpose.</p>
<pre><code class="lang-javascript">// AVOID
var Header = {
    view: function(vnode) {
        return m(&quot;.section&quot;, [
            m(&quot;.header&quot;, vnode.children[0]),
            m(&quot;.tagline&quot;, vnode.children[1]),
        ])
    }
}

m(Header, [
    m(&quot;h1&quot;, &quot;My title&quot;),
    m(&quot;h2&quot;,