4 ms·
The ugly side of React Hooks
- draw_down 6y agoGood piece. I have encountered many of these same issues and had similar thoughts. I think a rule of thumb may be in order, that's something like "the more interactive a component is, the more likely it is to be better written as a class".