Comment Comment by recursive > Hooks are better because they allow you to reuse component logic, impossible with class componentsI've heard this said before, but I don't understand. Could you give an example of component logic that can't be reused under class components? parent recursive 3 years ago
I've heard this said before, but I don't understand. Could you give an example of component logic that can't be reused under class components?