Code Splitting

About

Code splitting is an operation performed by a bundler that splits code into chunks.

Why

Lazy loading

In large web applications, it is often desirable to split up the app code into multiple JS bundles that can be loaded on-demand.

This function is also called:

  • lazy loading
  • dynamic loading

It helps to increase performance of your application by reducing the size of the initial JS payload that must be fetched.

Multiple Entry points

If you want to create multiple entry points that are target to different users.

Documentation / Reference


Powered by ComboStrap