💥 Angular Signal Inputs (COMING SOON in Angular 17.1) #angular

preview_player
Показать описание
In this video we are going to cover a new feature in the upcoming Angular 17.1 release: Angular Signal Inputs.

We will see how signal inputs are an alternative to the traditional @Input decorator, and we will demo how they provide an alternative to the OnChanges lifecycle hook.

Related short form videos:

Related articles on the Angular University blog:

Timestamps:

0:00 Intro
0:40 Coverting @Input to Signal Inputs
5:23 replacing OnChanges with effect()
08:00 required, alias and transform options

Free content at the Angular University:

Follow me:

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

I totally recommend Angular University. Very good quality of learning material! Both the blog and the video courses.

ConstantinosConstantinides-yo
Автор

I've been following you since I started programming in 2019.
Thank you Vasco.

Nabulio
Автор

Excellent content, Greetings from COLOMBIA!!

samuelsantanarivera
Автор

Since now you will be my main resource of angular news! :)

malikau
Автор

Thanks for sharing Vasco ! Always good Angular content !

AlainBoudard
Автор

I have been with angular since angular2 was in alpha. Can’t state enough how awesome signals is. Thank u Angular team! Great video.

BrendanAlexander
Автор

I think I have a problem when I use input.required, in my unit tests
in my console it shows error code NG0950

fernandoh.
Автор

Thank you very much! Very well presented :-)

flanderstruck
Автор

Great video and explanations! What if a signal comes from a service to a grand parent component then is passed to a parent and then to a child? Do input signals work with the nested trees of components and preserve their reactivity on every level?

seekthetruth
Автор

Hi, how to use features like changes.value.firstChange or changes.value.previousValue in the new effect function?

francescoguagnano
Автор

That transform option is crazy. You can map data with a reusable transformation function on a per-component basis that updates automatically whenever new data comes in, directly in the input signal. Insane.

DisturbedNeo
Автор

i like the direction angular is taking with these signals, new template syntax etc. the only problem in quick adoption of newer angular versions is sketchy update cycle of packages my projects depend on.

yufgyug
Автор

This is way easy now, I always hated doing Geters and Seters,

sivuyilemagutywa
Автор

Hi, what about performance since signals are functions and in the template it’s being binding a function to get signal value and since in Angular it’s better to avoid function binding to not have performance issues?

francescoguagnano
Автор

What are the advantages of signal based inputs?

ansumanmishra
Автор

Can you do two-way binding with input signals?

Dmooney
Автор

is there any word whether it will be experimental or production?

paulh
Автор

I really enjoy your content! So clear, and also just a bit more indepth so I don't get stuck on building the first real feature for myself.
If you like this content: this expert also has a great site where you can get a subscription on all his content for a moderate fee, and a course on Udemy, which is packed with info and updated to the latest versions; this Udemy course is almost for free. Lots of thank you from the Netherlands 🙏

Michel
Автор

Have we covered course on micro-frontend using angular? I am asked to work on it in my organization.

MukeshRathore
Автор

would input signal display the value on the console without effect block? Like, just put console.log(${this.value()}) ?

USONOFAV