6 min readreact-internalsReactInternals
useEffect vs useLayoutEffect: The Real Difference in React’s Commit Phase
Understand how React Fiber stores both hooks in the same effect list, why HookLayout and HookPassive tags matter, and when each runs during the commit phase.