Angular 17 - New Build-In Control Flow Overview

Angular 17 - New Build-In Control Flow Overview

Decoded Frontend

8 месяцев назад

36,574 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Adam Lasák
Adam Lasák - 13.11.2023 20:59

It'll be very helpful in our billing system for Scandinavian distribution companies. Image app with a lots of tables, info messages, even custom tab's system with functions similar to browser's tab (to open multiple customers) - you need a lots of if, else, empty, for statements. With the old syntax it was brutal. Even if you divided it into multiple components. I really love the new systax. It was missing in Angular for ages. It's similar to .NET Razor syntax what we've used previously.

If you want a tip about the next video topic - do it for RouteReuseStrategy. It's very underated feature and the documentation is low-described. But it's powerfull as hell. Especially for our tab system, where each tab is independent and needs to hold component instances.

Ответить
Daniel Naydenov
Daniel Naydenov - 13.11.2023 13:56

I love the new control flow syntax, signals and all of the new changes the angular team has been implementing. Also love your videos, keep up the good work ! 🎊🎊🎊

Ответить
Kristiyan Krastev
Kristiyan Krastev - 13.11.2023 13:43

Having that @empty block for the for loops makes so much sense. Loving it!

Can't wait to start using these.

Also, good job on the video!

Ответить
Andrei Ponamarev
Andrei Ponamarev - 13.11.2023 11:32

Why do you put "#" in front of certain variables? Can you explain more about this convention? thanks :)

Ответить
Juan Mato
Juan Mato - 13.11.2023 11:16

5 years workng with angular, 3 years with jsx and i cant go back. New Syntax looks bad to me

Ответить
Константин Славин
Константин Славин - 13.11.2023 06:25

Great explanation as always! This features are very useful to make codebase more readable and cleaner

Ответить
btx
btx - 13.11.2023 01:29

Will ng 17 libraries with the new syntax be backwards compatible?

Ответить
Oleksandr Vorovchenko
Oleksandr Vorovchenko - 12.11.2023 23:59

There is also a @defer block, which allows to lazy load components (standalone of course). Quite a useful thing to avoid custom wrappers with dymanic component creation.

Ответить
Serhii Rudenko
Serhii Rudenko - 12.11.2023 23:39

this is awesome 🔥

Ответить
Евгений Данильченко
Евгений Данильченко - 12.11.2023 19:01

Да, классная штука. Очень удобно.

Ответить
Vladyslav Pershko
Vladyslav Pershko - 12.11.2023 01:02

Hello guys, I have cloned the repo and wrote "npm i", and then my IDE doesn't recognize the new syntax. I use WebStorm and I see the message everywhere where the new syntax was used: Unterminated expansion form. If you have unescaped '{', use '{{ "{" }}' to escape it.

Ответить
Jury Balikov
Jury Balikov - 11.11.2023 23:28

I work with Angular for about 5 months, company's project is on v15. Can anyone shortly explain to me why people prefer standalone components nowadays and why I see more and more people write html in the component decorator? What about separation of concerns?

Ответить
Piotr
Piotr - 11.11.2023 15:07

This syntax is nice! You can focus more on the template. Those ng-container/ng-template were confusing in my view.

Ответить
Dennis A. Boanini
Dennis A. Boanini - 11.11.2023 04:32

Great job Dmytro! I love so much all the new features that the Angular team has released! They've done a really great job with this new release!

Ответить
Tung Pham
Tung Pham - 11.11.2023 03:34

Tbh I do not like this. 😢😢😢

Ответить
Joseph Sackey Kontor
Joseph Sackey Kontor - 11.11.2023 01:43

I love this

Ответить
Volodymyr Leskiv
Volodymyr Leskiv - 11.11.2023 00:01

ty, man!

Ответить
Giacomo Tabarelli
Giacomo Tabarelli - 10.11.2023 23:25

Could you show @defer and when to use it?

Ответить
Radvil Ardian
Radvil Ardian - 10.11.2023 20:17

very nice by angular, no more repeatitive imports + clean syntax + performance improvements ++, I can't wait for the zoneless updates. Hopefully soon in v18

Ответить
Anton Kozak
Anton Kozak - 10.11.2023 18:14

Дякую за цікаві ангуляр туторіали!

Ответить