New Control Flow in Angularv17

preview_player
Показать описание
Learn about a new, faster way to write component logic in your Angular apps starting in v17. Discover how this feature compares to common Angular structural directives (NgIf, NgFor, NgSwitch).

#Angular
Рекомендации по теме
Комментарии
Автор

I love how close it is to actual JS syntax. It both looks and feel natural. Well done!

divv
Автор

migrated our whole app from 15 to 17 today and it was so simple
you guys really did a great job in comparison to previous years!

jeffnikelson
Автор

I love the new control flow! The ng-container / ng-template syntax was the single worst thing about Angular.

lodash_
Автор

The new controll flow is an absolute joy to use.

floppa
Автор

Alex, such a great work you did with the new control flow. Thanks a lot

LarsRyeJeppesen
Автор

In the beginning, was confused, but now think that its a bit more readable than before and easy to use

starvingmusician
Автор

2:20 What to do when userList is a promise? With the previous syntax I would have used an async directive.

piano
Автор

ng syntax was just confusing and hard to read. This is one of the reason why I chose react over angualar. But the new control looks just awesome. I tried it and as a dev, I would say this made writing code fun and code is much readable. The whole framework improvement is just awesome as well. Thanks team Angular.

sarthikpoojary
Автор

Love the new control flow ❤️! The formatting at @1:00 shows the inner component indented compared to the level of the @if. My formatter in VSC puts them on the same column and it has been bugging me ever since I started using the new syntax 🥺. I wonder if we'll get an update to the formatter, or if it's intended 🤔.

rujor
Автор

Many thanks to Angular team and for your explanations.
I would appreciate if you clarify according to the new control flow. Will fixes of the error be exactly the same for @if as it was for *ngIf?

serhiishulipa
Автор

is there some vs code extension that colors and indents this new sintax?

nikolaKG
Автор

Awesome new sintax, I am moving to it.

VANTYCSolutions
Автор

wow is awesome very nice and easy i like angular 17

golang
Автор

hey, somehow @if @switch any new syntax is not highlighted in the .html Template. what is the solution ?

hnazmul
Автор

I‘m using prettier to format my code. Is the new control flow working with it?

DanielStoehr
Автор

So the directives NgFor or NgIf disapear?

MarcEsteveGarcia
Автор

Can we use @if in conjunction with @for?

ronjobs
Автор

The only downside is that I’m scared of the amount of code blocks in the templates like React.

peanutcelery
Автор

I would not say Angular is a bad framework, but you guys need to see react and other framework....
And when the app grow larger it is a nightmare o maintain

amrswalha
Автор

wow, on version 20 we will not make distinction to svelte :)

elmotareal