Do we still need Class-based components in React?

Photo by Sebastian Svenson on Unsplash

Short Answer: No.

Long Answer:

Well, there are several factors that come into play when saying that Class-based components aren’t needed anymore, the most important of which is constituted by the addition of Hooks.

Introduction of Hooks

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Vlad Mihet

Vlad Mihet

Passionate Software Engineer from Romania interested in expanding my knowledge in Web Development by learning new tech architectures and best practices. 😁