Code-splitting is an alternative to large bundles, which is where JavaScript is split into smaller chunks.
Code-splitting is an alternative to large bundles, which is where JavaScript is split into smaller chunks. This enables sending the minimal code required to provide value upfront, improving page-load times. The rest can be loaded on demand.