4 ms·
Personally I think hooks in React are toxic. The peanut gallery squees when they see them because they think they are "functional" because there is no "." invo
by PaulHoule 4y ago
Personally I think hooks in React are toxic.
The peanut gallery squees when they see them because they think they are "functional" because there is no "." involved, but it is side effect city, it even matters what order these functions get called.
- notsrg 4y agoNo one cares that hooks are "functional" - they care because it's a much better way to share logic across components vs higher order components.