arrow_backBACK TO DRILLS
Blue BeltuseeffectPREMIUM
Cleanup without matching setup is a smell
A useEffect returns a cleanup function but performs no setup work. Why is this generally considered a code smell?
A useEffect returns a cleanup function but performs no setup work. Why is this generally considered a code smell?