Show sample answer ▾▴
Profile first with the React DevTools profiler and the browser performance panel — don't guess. Look for unnecessary re-renders (memoize with React.memo/useMemo where the profiler proves a cost), oversized bundles (code-split routes, lazy-load), and layout thrash. I cut an LCP from 4.1s to 1.3s mostly via route-level splitting and an image pipeline, not micro-optimizations.