Use this when a component has 10+ useState calls and state update ordering issues cause UI flickering or stale data. Paste the component code to get recommendations for consolidating state with useReducer, computing derived state with useMemo, and extracting logic into custom hooks.