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

> jsx attribute renaming (ex. className="foo" => class="foo")

That annoys everybody. It's that way because the JSX attributes map directly onto the DOM attributes which in turn are named that way to avoid ES3 reserved keywords. It's supposed to be less magic/surprising but far more people interact with JSX (e.g. designers) than work with raw DOM manipulation.



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

Search: