arrow_backBACK TO DRILLS
Blue BeltuseeffectPREMIUM
Returning null and effects
A component returns null when isVisible is false, but it still contains a useEffect hook. A developer expects the effect not to run while the component renders nothing. What actually happens?