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

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.


"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.


Right, it's interesting react had a goal of eliminating xss vulnerabilities so common with the innerhtml approach.




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

Search: