Using preloading in Angular apps to reduce ChunkLoadingError

Reducing the amount of ChunkLoadingError

Ali Kamalizade
4 min readJun 26, 2023

--

Photo by Mike van den Bos on Unsplash

Our Angular-based frontend is divided into different self-contained modules (e.g. inbox, document center, dashboard…). Those modules are typically rather small and loaded asynchronously. The benefits of splitting up the application into modules:

  • Avoid loading stuff of…

--

--

Ali Kamalizade

Co-founder of Sunhat. Posts about software engineering, startups and anything else. 有難うございます。🚀