-
Notifications
You must be signed in to change notification settings - Fork 47.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClassName and Class inconsistency #5926
Comments
Supporting both As long as this doesn't introduce a problem with any of our supported browsers (IE8 would throw when accessing |
This behavior has changed as of React 16, see DOM Attributes in React 16. Using I don't believe there's any intention to move to |
fucking idiots |
Sorry you feel this way, but this sort of behavior is unacceptable. Locking this thread. |
Standard elements and custom elements have a diverging API in the case of the
class
attribute (andfor
), they should be consistent to aid developer use. I would suggest that the custom-element naming is the better solution. Whileclass
andfor
are keywords that is obviously mitigated by the fact they're used as object propertiesThe text was updated successfully, but these errors were encountered: