Skip to content
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

Proposition about the rendering html section: Reason why it is className and not class. #86

Open
Nordes opened this issue Mar 26, 2020 · 1 comment

Comments

@Nordes
Copy link
Contributor

Nordes commented Mar 26, 2020

It is mentioned that className come from the fact that class was already used. Which is true, but, in pure JavaScript, it's also the property from the DOM Object. (Mozilla ref.: https://developer.mozilla.org/en-US/docs/Web/API/Element/className)

Book page: https://zaid-ajaj.github.io/the-elmish-book/#/chapters/elm/render-html

@Zaid-Ajaj
Copy link
Owner

Good one @Nordes, I will add it to the page 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants