Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

JSX is not HTML, it imitates HTML. It is fine for it to deviate. You don’t use attributes, but properties, like className.


HTML as rendered in browsers is the target. Aliases are one thing. Not matching up to the target after rendering is quite another.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: