4 ms·
> People say it’s an easy way to keep your lifecycle events close to the functionality they’re dealing with, but in the end it’s just a clusterfuck of function
by ratww 7y ago
> People say it’s an easy way to keep your lifecycle events close to the functionality they’re dealing with, but in the end it’s just a clusterfuck of function calls in the render method.
Maybe the code you work on is a special case, but in my experience that sounds exactly like an opportunity to refactor your code into custom hooks, as you mention in your last paragraph.