Книга: Angular 2 Cookbook
Назад: Unit testing a component with a service dependency using spies
Дальше: Understanding and properly utilizing enableProdMode with pure and impure pipes

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

Introduction

Angular 2 was a total rebuild for a number of reasons, but one of the biggest ones was certainly efficiency. The framework that emerged from the ashes is a sleek and elegant one, but not without its complexities.

This chapter serves to explore some of the new features that it builds upon and how to most effectively employ them to streamline your application.

Назад: Unit testing a component with a service dependency using spies
Дальше: Understanding and properly utilizing enableProdMode with pure and impure pipes

thank you
Flame
cant read the code since it is all on a single line. Also this comments section is russian
Rakuneque
DATA COLLECTION AND ANALYSIS Two reviewers extracted data and assessed methodological quality independently lasix torsemide conversion Many others were in that space already