Re:A Visual Guide to UseEffect
by dragonwriter on Monday December 26, 2022 @11:24PM
(#34145091)
> Anyway, yeah it might be a code smell if everyone is using them wrong
At least part of the “wrong” use is the recommended best practice has evolved over time, so following the recent recommendations would be “wrong” by the current recommendation.
Anyway, yeah it might be a code smell if everyone is using them wrong, but I'm not sure how the React team could fix it, at least without breaking changes or moving to some other paradigm.