News for hackers. Stuff that matters.
Re:The State of JavaScript – Survey results by z3t4 on Monday October 03, 2016 @02:38PM (#12630103)
I think one reason why React is so popular is that it forced you into an object oriented approach whereas before many developers used innerHTML everywhere. It is possible to write object oriented, structured "class" based vanilla JavaScript with imperative DOM manipulations though, witch is more performant then popular frameworks.
Re:The State of JavaScript – Survey results by shados on Tuesday October 04, 2016 @10:31AM (#12635789)
"I think one reason why React is so popular is that it forced you into an object oriented approach"

And yet React's claim to fame is that it popularized techniques other than OOP, which was plaguing the JS world up until recently.

Re:The State of JavaScript – Survey results by davidjnelson on Monday October 03, 2016 @07:37PM (#12632267)
Right, it's interesting react had a goal of eliminating xss vulnerabilities so common with the innerhtml approach.