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
emotion allows css={[aRules, bRules]} and does the right thing for re-rendering, so it should not be flagged as a performance issue. We can turn this off for native elements like div, but css is allowed on any element, including custom elements.
There are other examples like this, for example, I can accept style on a custom element and pass it unchanged to the native one, and so would make sense to allow style as an exception on custom elements too.
The text was updated successfully, but these errors were encountered:
emotion allows
css={[aRules, bRules]}
and does the right thing for re-rendering, so it should not be flagged as a performance issue. We can turn this off for native elements likediv
, butcss
is allowed on any element, including custom elements.There are other examples like this, for example, I can accept
style
on a custom element and pass it unchanged to the native one, and so would make sense to allowstyle
as an exception on custom elements too.The text was updated successfully, but these errors were encountered: