arrow_backBACK TO DRILLS
Blue Belt - Mediumuseeffect
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?