You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems as though there's an issue with how Preact handles style props when values are explicitly undefined. It seems to be a little more nuanced than it just leaving undefined in though – I think it happens only when the object property was previously defined, and later becomes undefined:
It seems as though there's an issue with how Preact handles style props when values are explicitly
undefined
. It seems to be a little more nuanced than it just leavingundefined
in though – I think it happens only when the object property was previously defined, and later becomes undefined:To Reproduce
Expected behavior
I would expect the
--x
css property to actually be deleted when it becomesundefined
, as this is what happens on initial render.The text was updated successfully, but these errors were encountered: