Effects, layout effects, custom hooks, context, memoization, and the React Compiler: the React internals you need to make sound architecture calls.
Follow the suggested order, or jump to any tutorial.
useEffect and Side EffectsStart here
Run side effects (subscriptions, fetches, timers) safely with useEffect and learn cleanup and dependency arrays.
useLayoutEffect Hook
Comprehensive guide to useLayoutEffect hook for senior engineers
Custom Hooks
Extract reusable stateful logic into custom hooks. Rules of hooks and when to create your own.
Context API
Share state across the tree without prop drilling. Create a context, provide a value, and consume with useContext.
useMemo and useCallback
Optimize re-renders and avoid unnecessary recalculations and callback identity changes.
React Memo
Comprehensive guide to React Memo for senior engineers
What the React Compiler Actually Memoizes (and What It Can't)
Read real React Compiler 1.0 output line by line, see why components stop re-rendering without React.memo, hand-compile a component yourself, and learn the cases it can't fix: mutation, values from outside React, rule violations it silently skips, and work that's slow even when memoized. Ends with a safe rollout plan.