For example, the class
attribute of HTML tag, unlike other attributes has a different name on Javascript, which is className
.
Because of that, element.class = "XXX"
won't update the class of an element.
Therefore, I want to know if there are any attributes other than class
has this characteristics.
EDIT: I'm not talking about JSX, I'm literally talking about JavaScript. Reference: https://developer.mozilla.org/en-US/docs/Web/API/Element/className