Learn Angular Signals - The Future of State Management

preview_player
Показать описание
Learn Angular Signals which is a new abstraction and alternative to NgZone and RxJS. This is a new way of setting and getting value which is available starting from Angular 16

TIMESTAMPS
0:00 Introduction
1:44 Using Angular Signals
3:31 Angular signals set method
5:25 Angular signals update method
6:07 Angular signals mutate method
6:40 Effects in Angular signals
7:47 Computed in Angular signals
8:39 My thoughts

MOST POPULAR COURSES

FOLLOW ME

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

For me, signal just looks like useState and useEffect in React, with more functionalities like mutable and compute.But, in my opinion change detection will easier and quicker by signals.

gowthamp
Автор

Signals are not just easier to grasp, than RXJS, but they are also closer to what's actually happening under the hood. - the fact alone, that your effect methods now can run sync instead of async, without frankensteining your ngOnChange method, is a feature in itself

dge
Автор

I always look forward to your content. Any plans on getting in testing in Angular with Jest for example?

dk
Автор

Thank you! Amazing video! What is the difference between update() and mutate()? Does update() trigger change detection in the current component while mutate() does not?

xxRAPRxx
Автор

Thank you very much for your valuable content, but i need to ask a question regarding the computed and specially for the example you used
what the different between calling usersTotal() in the html template and calling users().length directly ? is there any advantage of using computed in this case ? and thanks again

waelm.elsaid
Автор

The video was very clear! I just didn't understand how effect works: how does it know to trigger when title is changed and not when users does? Does it trigger every time any signal change?

SteDeus
Автор

I really don't like the esthetics of signals. Code separation which ngrx offers make code base really clean. I hope angular team comes up with something which makes code looks cleaner.

farrukhmomin
Автор

is it better in general to use signals instead of variables that are binded to UI for example?

ismailuwair
Автор

Wow.

Hey, really likeing your paid course my guy.

LukeAvedon
Автор

Hello,
Thanks for your videos.
I have a question, are you from Germany?
where are you from?

mahdikamran
Автор

So signals need only for not enter in life cycles, they are not accesible from other components like subjects?

L-Lesiv
Автор

Why do we need [value]="title()" in html if we change signal in event function?

L-Lesiv
Автор

Sorry for out of context question, in ngrx can and should i update state from the backend service without any actions dispatched from from user (commercial platform)
Thanks in advance

MultiWarrr
Автор

I don't get it. Why can't we just use the ngModel directive with events? It doesn't make sense to use a variable like title as a method call.

fastestnotes
Автор

Hi, I am a bit confused, to me it looks like ngModel, whats the difference?

yaghuzt
Автор

hello, what text editor are you using?
love the channel

paweliszewski
Автор

Hi, exists something like a benchmark? I learned that we should not call functions in Angular because it will make the app significantly slower. But with the signal you added a function to the view. How fast is it compared to older approaches?

thorstenschmidt
Автор

Can we cancel a signal that has been created?

riatec
Автор

I still think Rxjs is better than signals.

chrisburd
Автор

they are copying from react and vue lol

pietrosmusi
join shbcf.ru