The first line of buttons should appear the same as the second.
The first line of buttons do not have the CSS variable declarations applied, because CSS variables must be declared via setProperty
Use the explicit style.getPropertyValue & style.setProperty APIs instead of treating style as a POJO to be assigned to
Was worried about the potential perf considerations of this but it turns out React implemented this a year ago and it improved perf
@barneycarroll If that's the case, then let's do this.
Wilco, I'll get on it in a tick. This will make interoperability with framework agnostic CSS-in-JS patterns far more powerful!
Most helpful comment
Wilco, I'll get on it in a tick. This will make interoperability with framework agnostic CSS-in-JS patterns far more powerful!