DEV Community

Discussion on: React: class components vs function components

Collapse
 
andrewbaisden profile image
Andrew Baisden

Nice comparison I have completely converted to functional components it would be hard to go back to classes now. When I initially started to learn hooks my thoughts were the reverse.

It really is that much better though.

Collapse
 
colocodes profile image
Damian Demasi

I now have the dilemma of choosing between class or function components at my workplace... I guess that as I gain more experience I will be able to make better decisions.