How do you debug a slow React component?
Start with the Profiler tab in React DevTools to find the actual render cost. Then check: prop identity churn, untrimmed lists (virtualize), and Context that fans out to too many consumers (split it).
Start with the Profiler tab in React DevTools to find the actual render cost. Then check: prop identity churn, untrimmed lists (virtualize), and Context that fans out to too many consumers (split it).