News for hackers. Stuff that matters.
Re:Am I wrong in hating React JS? by t3soro on Wednesday October 26, 2016 @10:58PM (#12802615)
className has always been the convention for accessing the class attribute in Javascript.

https://developer.mozilla.org/en-US/docs/Web/API/Element/cla...

Re:Am I wrong in hating React JS? by cri5ti on Thursday October 27, 2016 @08:24AM (#12804469)
And that's of course because pre ES5 you couldn't use keywords (class) as property names.