Chapter 10. Performance and Advanced Concepts
This chapter will cover the following recipes:
Understanding and properly utilizing enableProdMode with pure and impure pipes
Working with zones outside Angular
Listening for NgZone events
Execution outside the Angular zone
Configuring components to use explicit change detection with OnPush
Configuring ViewEncapsulation for maximum efficiency
Configuring the Angular 2 Renderer Service to use web workers
Configuring applications to use ahead-of-time compilation
Configuring an application to use lazy loading