3 ms·
I’ve been doing web development since 1997 so I feel like I can have a few opinions at this point. Reacts insistence at the time on everyone should use hooks w
by mdhb 1y ago
I’ve been doing web development since 1997 so I feel like I can have a few opinions at this point.
Reacts insistence at the time on everyone should use hooks was hands down one of the dumbest things I’ve seen in all my time.
Not only was it on extremely shaky grounds technically but now you have huge swaths of developers have this extremely React specific mental model of building apps that translates poorly to almost everything else out there.
There is a reason why almost nobody else out there followed that trend. Classes are actually the ideal abstraction for building a component based on UI.