arrow_backBACK TO DRILLS
Blue Beltuseeffect
useEffect Logging count With Empty Dependencies
A useEffect logs count, but the dependency array is empty. The count state updates correctly elsewhere in the component. Why can the effect still log an outdated value?