Divided we stand

Code splitting and lazy loading Angular Modules for performant apps

Monolithic Javascript Bundles

Awesome for small apps

Feels intuitive

The only option in Angular 1.x

 

Monoliths simply don't work in large applications

Longer download/eval times

Contains code that might never run

 

Ultimate Victory

  • Load smaller i.e. load faster
  • Load what is required
  • Load when it is required

 

Will work equally good on Broadband, 3G and Edge connections

Demo

Summary

Divided we stand

By Mohammad Umair Khan

Divided we stand

Lightening talk on organizing code in Angular for Lazy Loading and Code Splitting

  • 847