Hacker News new | past | comments | ask | show | jobs | submit login

That’s basically what I said, though? The point is that JSX is made to look like HTML so you think you’re writing HTML but you’re not, you’re using a JS API.

Also I had to laugh at the sibling replies:

> Narrative violation: className and friends are NOT a React thing!

> FWIW, the className prop is a React thing not a JSX thing

Don’t try to say it doesn’t cause confusion!




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

Search: