Local Change Detection in Angular is easy with Signals

  Рет қаралды 2,715

Code Shots With Profanis

Code Shots With Profanis

Күн бұрын

Пікірлер: 25
@ilirbeqiri253
@ilirbeqiri253 9 ай бұрын
Great explanation there man. Thanks a lot ❤️ Just one thing that I noticed is that you call .update fn to update signal value but still extract the signal’s value itself instead of using the one provided by default from the update fn itself. Just mentionin for not causing confusion. Thanks again🎉🎉
@CodeShotsWithProfanis
@CodeShotsWithProfanis 9 ай бұрын
ohh yeah. Thanks for that. It seems that I combined a syntax of set along with update :) The correct should be this.#counter.update((value) => value - 1); or this.#counter.set(this.#counter() - 1);
@thomaslhomme6857
@thomaslhomme6857 7 ай бұрын
Exactly what I was looking for. Thanks!
@SebastianEcheverry-mp7ti
@SebastianEcheverry-mp7ti 8 ай бұрын
this is really time saving
@DraaElMizan
@DraaElMizan 9 ай бұрын
Brilliant, can't wait for a full implementation of signals in Angular. Thanks for sharing Profanis. Please keep the tuts coming.
@HarshitDwivedi-p8m
@HarshitDwivedi-p8m Ай бұрын
thanks for great demo 😊. I have one doubt. will this implementation work with Zoneless architecture or with earlier version too?
@georgespanos4680
@georgespanos4680 9 ай бұрын
Awesome Fanis!!!
@sergiokagiema9658
@sergiokagiema9658 6 ай бұрын
Excellent example! Well done!
@CodeShotsWithProfanis
@CodeShotsWithProfanis 6 ай бұрын
Many thanks! :)
@cdotforce
@cdotforce 9 ай бұрын
Cool!
@Nabulio85
@Nabulio85 6 ай бұрын
Great demo!❤
@CodeShotsWithProfanis
@CodeShotsWithProfanis 6 ай бұрын
Thank you! 🤗
@tarasshevchuk8477
@tarasshevchuk8477 9 ай бұрын
Thank you Fanis for very good explanation !!!
@CodeShotsWithProfanis
@CodeShotsWithProfanis 8 ай бұрын
Glad it was helpful!
@malikrajat
@malikrajat 9 ай бұрын
Thanks sharing, It really a knowledge heavy video. I have request, Can you please share git repo for this code base
@zaferdemir4680
@zaferdemir4680 9 ай бұрын
Great! How about new signal model? There is just a simple examples on angular dev. Can you please share on a new video complex signal model code base?
@CodeShotsWithProfanis
@CodeShotsWithProfanis 9 ай бұрын
Thanks for asking. Indeed the Signal Model will be one of my next videos
@utsahpaikray
@utsahpaikray 8 ай бұрын
Great
@ansumanmishra9608
@ansumanmishra9608 9 ай бұрын
Excellent tutorial ❤
@CodeShotsWithProfanis
@CodeShotsWithProfanis 9 ай бұрын
Glad you liked it!
@andersonantunes3287
@andersonantunes3287 7 ай бұрын
I didn't know this way of obtaining the click event using `fromEvent` from `RXJS`. Is it possible to obtain the same result as `fromEvent` in relation to ancestral components using something native to Angular?
@CodeShotsWithProfanis
@CodeShotsWithProfanis 7 ай бұрын
I would expect the Signal Components (they are not yet there), or a zonelss change detection would do the trick natively. This is the PR of the zoneless provider github.com/angular/angular/pull/55329
@andersonantunes3287
@andersonantunes3287 7 ай бұрын
@@CodeShotsWithProfanis Thanks for the information, I'll wait for the new version to test
@andersonantunes3287
@andersonantunes3287 7 ай бұрын
Excellent video, congrats. One more subscriber
@CodeShotsWithProfanis
@CodeShotsWithProfanis 7 ай бұрын
Thanks!! :)
Get to Know Signal Queries in Angular 17
17:43
Code Shots With Profanis
Рет қаралды 1,9 М.
14.9 Scroll Position Restoration
2:15
Abdelfattah Ragab
Рет қаралды 26
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 204 МЛН
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 42 МЛН
Learn How to Unit Test Angular Components with RouterTestingHarness
29:54
Code Shots With Profanis
Рет қаралды 2,9 М.
Get to Know the Model Input Function in Angular 17
10:17
Code Shots With Profanis
Рет қаралды 1,3 М.
Getting Started with NGXS 18 and Angular 18
29:53
Code Shots With Profanis
Рет қаралды 1,5 М.
Get to Know the new Angular Output
11:28
Code Shots With Profanis
Рет қаралды 717
How to implement AWS Secrets Manager in Angular and Dotnet
42:31
Dotnetist Enterprise
Рет қаралды 397
Discover the Reactive Primitive Re-Shaping Angular - What Signals Are?
10:50
Code Shots With Profanis
Рет қаралды 2,9 М.
Learn How to Use Angular's 17 Signal Inputs
3:48
Code Shots With Profanis
Рет қаралды 2,7 М.
Angular Scroll Position Restoration
15:21
Code Shots With Profanis
Рет қаралды 7 М.
Learn How to Use Angular's 17 Defer Block
23:50
Code Shots With Profanis
Рет қаралды 4,1 М.
Learn Angular Signals RxJS Interop From a Practical Example
15:51
Code Shots With Profanis
Рет қаралды 3,5 М.
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 204 МЛН