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
className is not valid in HTML, so we shouldn't allow it.
It comes from React / JSX, and doesn't do what folks are expecting.
It does properly set an attribute on an element called className, because all attributes are valid in HTML, but the intent behind className is to set the class attribute.
This is somewhat similar to this new rule request: #2043
The text was updated successfully, but these errors were encountered:
className
is not valid in HTML, so we shouldn't allow it.It comes from React / JSX, and doesn't do what folks are expecting.
It does properly set an attribute on an element called
className
, because all attributes are valid in HTML, but the intent behindclassName
is to set theclass
attribute.This is somewhat similar to this new rule request: #2043
The text was updated successfully, but these errors were encountered: