uot;a&quot;) : null,
    m(&quot;div&quot;, {key: 2}, &quot;b&quot;),
])

// PREFER
m(&quot;div&quot;, [
    a ? m(&quot;div&quot;, {key: 1}, &quot;a&quot;) : m.fragment({key: 1}, []),
    m(&quot;div&quot;, {key: 2}, &quot;b&quot;),
])</code></pre>
<h4 id="avoid-passing-model-data-directly-to-components-if-the-model-uses-key-as-a-data-property"><a href="#avoid-passing-model-data-directly-to-components-if-the-model-uses-key-as-a-data-property">Avoid passing model data directly to components if the model use