 strings and objects as valid <code>style</code> values. In other words, all of the following are supported:</p>
<pre><code class=language-javascript>m(&quot;div&quot;, {style: &quot;background:red;&quot;})
m(&quot;div&quot;, {style: {background: &quot;red&quot;}})
m(&quot;div[style=background:red]&quot;)</code></pre>
<p>Using a string as a <code>style</code> would overwrite all inline styles in the element if it is redrawn, and not only CSS rules whose values have changed.</p>
<p>You can use both hyphenate