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🎉🎉
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);
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?
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
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🎉🎉
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);
Exactly what I was looking for. Thanks!
this is really time saving
Brilliant, can't wait for a full implementation of signals in Angular. Thanks for sharing Profanis. Please keep the tuts coming.
Awesome Fanis!!!
Excellent example! Well done!
Many thanks! :)
thanks for great demo 😊. I have one doubt. will this implementation work with Zoneless architecture or with earlier version too?
Great demo!❤
Thank you! 🤗
Thank you Fanis for very good explanation !!!
Glad it was helpful!
Excellent video, congrats. One more subscriber
Thanks!! :)
Excellent tutorial ❤
Glad you liked it!
Thanks sharing, It really a knowledge heavy video. I have request, Can you please share git repo for this code base
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?
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
@@CodeShotsWithProfanis Thanks for the information, I'll wait for the new version to test
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?
Thanks for asking. Indeed the Signal Model will be one of my next videos
Cool!
Great