I've been working on a large React application and started noticing performance hiccups when updating state in deeply nested components. I've tried using React.memo and useCallback, but the gains seem minimal.

Does anyone have tips or patterns for reducing unnecessary re-renders? Are there tools that can help visualize the rendering tree?

React performance profiling diagram

Any advice would be greatly appreciated!