4 ms·
Classes made it easier to wrap things implicitly and "do the right thing", even if the developer doesn't know or care what you did. With hooks, you need to do
by panta82 6y ago
Classes made it easier to wrap things implicitly and "do the right thing", even if the developer doesn't know or care what you did.
With hooks, you need to do all these optimizations and best practices explicitly, which bloats up the code and defeats the purpose of getting rid of class structure boilerplate in the first place.