arrow_backBACK TO DRILLS
Blue Beltcustom-hooksPREMIUM
useOnlineStatus Called by Two Sibling Components
Two sibling components both call the same custom Hook useOnlineStatus(), which internally uses useState and useEffect. What actually happens to the Hook state across the two components?