-
Notifications
You must be signed in to change notification settings - Fork 781
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
Why handle className? #123
Comments
This seems to be related: Unfortunately, this seems to be an issue with how Hyperx creates both classname and class attributes in elements, so we need to support className, otherwise HyperApp would fail to toggle a class name when using Hyperx. |
it is not related to anything. just kinda convention because such are keywords in js. that is the case with "for" -> "htmlFor", and http-equiv to httpEquiv |
Sure, I think I know that pretty well. The issue here is that Hyperx adds a |
Related: #85. |
This works:
This also works:
Maybe I forgot, but I don't see what's the point of supporting className in HyperApp.
The text was updated successfully, but these errors were encountered: