TL;DR if you're building an SPA and plan to use Code Splitting you should ignore tree shaking and structure your modules and imports accordingly to avoid redundant code being included in your…
Takeaway: keep your memoed components focussed and their props shallow, and prefer simple solutions over complexity. skip to the flip The first step to voiding unnessary renders is to use…