DEV Community

Discussion on: React is finally JavaScript

dorshinar profile image
Dor Shinar • Edited on

I disagree. I think over the years many JavaScript developers found clunky ways to mimic the behavior of classes while refusing to name them which, for the sake of being functional (looking at you module pattern). Classes absolutely have a role, especially in such a poorly designed language, with such a huge ecosystem.

Hooks in react are a great edition, but I don't think they make classes obsolete.