DEV Community

loading...

Discussion on: Do you still use React classes?

Collapse
developerantoniosousa profile image
Antonio Sousa

I'm using class component only on old components - existing components. Creating new components always I write components using Hooks API, because it's clearer and easy to use. There are quite benefits over the Hooks API which can show when put it on practice.