News for hackers. Stuff that matters.
Re:In praise of opinionated frameworks by cehrlich on Tuesday March 15, 2022 @04:16AM (#30682813)
It’s a difficult situation. A new React project should obviously use functional components and hooks. But there are still large code bases that use class based components, and I don’t see that changing too soon, so it needs to be taught.

Imo the docs/guide should include all the old stuff, but at the end and with a big warning saying “here’s the legacy stuff”.

There are no comments on this comment yet.