loading...

Components not solved by hooks?

merri profile image Vesa Piittinen 惻1 min read

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.

Discussion

markdown guide
 

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