But there’s a huge difference between supported and recommended. I’m pretty sure Windows still supports 16-bit apps, for example.

Whether or not a component uses state is a poor deciding factor as well. Functional components interact with state differently, for sure, but useState works as well as this.state, and allows for even more granular state management.

Again, the React team supports, but does not recommend, class components.

Michael Landis
Michael Landis

Written by Michael Landis

Front-end web developer, React enthusiast, vagabond.

Responses (4)