Errors, arrow functions, and local variables

This week, we’re using the newsletter’s 3-2-1 format. I’m posting a few essential articles to revisit, updates to know about, and one question to ponder:

Three articles to revisit:

Two quick updates:

Did you know…

When using the @for block, you don’t need to declare local variables to use them. Just use $index, $even in your template, or any other local variable, and… it works!

@for (item of items; track item.id) {
<p>Item #{{ $index }}: {{ item.name }}</p>
}

Alain Chautard

Alain is a Google Developer Expert in Web Technologies, Angular, and Google Maps. His daily mission is to help development teams adopt Angular and build at scale with the framework. He has taught Angular on all six continents! A world traveler and photographer, Alain is also an international conference speaker, and a published author of several video courses.