3 ms·
I had do frontend for decades and witness the Jquery => Angular.js => React/Vue (Class) => React/Vue (Hook) transition. And out of them, the react hook is the
by mmis1000 1y ago
I had do frontend for decades and witness the Jquery => Angular.js => React/Vue (Class) => React/Vue (Hook) transition.
And out of them, the react hook is the only one that 'doing it wrong' is easier. A good API interface should have least resistance for the user when doing things correctly. But React Hook almost feels like the complete opposite of this phenomenon. It's complex, comes with tons of foot gun. And yet still get popular?
Wondering if there is something other like this exists in the computer history.
- skydhash 1y agoBecause it’s very simple. React is only a view layer that promises that your UI will always reflect your state. Bugs is usually when people brings in things that has no place being there. Aka no discipline in separating the view module from everything else.