Lazy-Loading React Components
Optimize production builds with code splitting
Published in
3 min readNov 5, 2020
Code splitting is a very useful tool when it comes to reducing the size of your builds. It allows you to parse (or split) your code into different bundles that can be loaded conditionally based on what is currently needed.
Let’s say you have a suite of e-learning applications for different classes and levels…