News for hackers. Stuff that matters.
Re:Guide to JavaScript Frameworks by hobofan on Sunday January 21, 2018 @02:09PM (#16199432)
> If it was just html I could write <label for=""> and not <label htmlFor="">, I could write <div class=""> instead of <div className="">

In case you don't know (and I also didn't until recently), those namings come from the HTML DOM Javascript API, and not from React. So having that naming in React+JSX is more a consequence of operating on that abstraction level, than a quirky decision of the React developers.

Re:Guide to JavaScript Frameworks by dsego on Monday January 22, 2018 @04:16AM (#16203028)
Well, if you're being pedantic, DOM is not HTML.