3 ms·
I don't disagree that useEffect is a great extraction overall. But the mental load to understand it vs. explicit lifecycle methods is significantly worse. The
by el_dev_hell 5y ago
I don't disagree that useEffect is a great extraction overall. But the mental load to understand it vs. explicit lifecycle methods is significantly worse.
The ability to subscribe is indeed amazing (this was much more verbose in class components).