3 ms·
I lead a 4 dev team working with a React codebase of 80k LoC for 2 years. Hooks' lack of orchestration mechanism, props drilling and its quirks, wrong dependenc
by batmansmk 4y ago
I lead a 4 dev team working with a React codebase of 80k LoC for 2 years.
Hooks' lack of orchestration mechanism, props drilling and its quirks, wrong dependency arrays, setTimeout not cleaned up, and other misuses of the framework were the cause of 7 of the 28 bugs we fixed in prod in March 2023 so far.
Every other PR there is a debate around a hook lifecycle gotcha.
Is it a lot? I think it is.