Angular

Topics

How DI is used in Angular

DI is a coding pattern in which a class asks for dependencies from external sources rather than creating them itself.

The main reason why is important, because it helps avoid hight coupling between classes.

Decouple object creation from using this object get you ability to replace objects, without any changes in our class that use than object.

@Optional - if dependency not found, we didn't get any error

@Self - it will not asking parent, check only it's own injector

@SkipSelf - skip self, skip injector where it was declared, starting resolving dependencies with parent

@Host - host element should be the last stop when it is searching for providers. Boundaries are only for view scope (html)

Change Detection mechanism in Angular NgZone

Angular Change Detection - How Does It Really Work?arrow-up-right

zone.js от А до Яarrow-up-right

RxJS pros/cons, NgRX

RxJS's Pros And Cons: Is It A Holy Grail Or A Nuisance? - K&Carrow-up-right

Angular: понятное введение в NGRXarrow-up-right

Compare with React

Angular vs. React: Which is Better and Why?arrow-up-right

How to migrate from Angular 1 to Angular 8

Angulararrow-up-right

Benefits/drawbacks of Angular 8 in comparison with 1 (how to convince Client to migrate)

Angular vs AngularJS - A Complete Comparison Guide 2019arrow-up-right

Angular performance optimizations techniques

Angular Performance Optimization Techniquesarrow-up-right

Angular memory leaks prevention

Angular tools

Angulararrow-up-right

Lifecycle hooks

Angulararrow-up-right

Last updated