Problem Statement
What are common performance issues in state management and how can they be prevented?
Explanation
Common issues include unnecessary re-renders, overuse of Context, and not memoizing expensive computations.
Use React.memo, useCallback, and useMemo to prevent re-renders, and split contexts when data updates frequently.