docs: fix typo (#53039)

PR Close #53039
This commit is contained in:
Isaac Aggrey 2023-11-19 20:52:50 -06:00 committed by Dylan Hunn
parent 5ad9f216da
commit dcf14ccc01

View file

@ -122,7 +122,7 @@ The `@switch` block replaces `ngSwitch` with major benefits:
The `@for` block replaces `*ngFor` for iteration, and has several differences compared to its structural directive `NgFor` predecessor:
* tracking expression (calculating keys corresponding to object identities) is mandatory but has better ergonomic (it is enough to write an expression instead of creating the `trackBy` method);
* tracking expression (calculating keys corresponding to object identities) is mandatory but has better ergonomics (it is enough to write an expression instead of creating the `trackBy` method);
* uses a new optimized algorithm for calculating a minimal number of DOM operations to be performed in response to changes in a collection, instead of Angulars customizable diffing implementation (`IterableDiffer`);
* has support for `@empty` blocks.