DEV Community

Discussion on: Do you still use React classes?

Collapse
 
gkhan205 profile image
Ghazi Khan

I'm using mix of both. All my child components are Functional components with hooks and Container components where I need some more states to be managed and need to use some lifecycle methods extensively then only I use Class component if not then Functional component with hooks there too.