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)
Check out react-transition-group, Iād love to see a PR with hooks!