DEV Community

Vesa Piittinen
Vesa Piittinen

Posted on • Edited on

Components not solved by hooks?

Working with a larger codebase I haven't found yet a component I couldn't refactor from classes to hooks (when not counting the obvious error boundaries).

So do you know a use case, preferably with sample code, that cannot be done with hooks? Or that would be "too hacky" if done with hooks instead of a class.

Top comments (1)

Collapse
 
lifeiscontent profile image
Aaron Reisman

Check out react-transition-group, I’d love to see a PR with hooks!