React Performance (Web) Problem Statement React performance issues often stem from unnecessary re-renders, unoptimized lists, and expensive computations on the main thread. Understanding React's rendering behavior is key to building performant applications. --- Pattern: Memoization useMemo - Expensive Computations When to use useMemo: - Array transformations (filter, sort, map chains) - Object creation passed to memoized children - Computations with O(n) or higher complexity useCallback - Stable Function References When to use useCallback: - Callbacks passed to memoized children - Callbacks i…