News for hackers. Stuff that matters.
Re:React Won by Default – and It's Killing Front End Innovation by magnio on Tuesday September 16, 2025 @06:08AM (#45260257)
Man, I am glad I don't have to work with any developers for whom having to write "className" (which has been in the DOM standard since 2000) over "class" is a deal-breaker.
Re:React Won by Default – and It's Killing Front End Innovation by WorldMaker on Tuesday September 16, 2025 @02:07PM (#45265683)
To be fair though, that's not a JSX restriction, that's a React choice. (In my own JSX-based library, I allow `class="thing"` and `for="some-id"` just fine as simple synonyms of className and htmlFor.)