DEV Community

Discussion on: Convert Your Old Class Components to Functions. Just Do It Already!

Collapse
 
dhintz89 profile image
Daniel Hintz

Thanks the comment! I haven't gone too deep into using hooks yet, so I'm sure I'll find some use case where a class would be beneficial (and I'll update here when I do), but the community seems to be pushing pretty hard for hooks nowadays.

Out of curiosity, do you happen to have an example of where a class may be a better implementation?