You are doing great job, but I think, probably you have made a little mistake in the explanation of counterEffect() function. As I understand, counterEffect() call effect(...) which REGISTER a function, which will be called every time any signal will be updated. So you have to call it in constructor(), not in setCounter(). In the last version of your code during clicking "Set counter" button it sets to a signal variable (counter) a new value and sets also information, that a signal value was changed. Then you register (calling counterEffect() which calls effect()) a function to react on signals changes. Once registered, this function see that it was a change and call the lines with console.log. And it normally works. But if you press the button one more time, you register a NEW, SECOND function, and because of that, you have doubled the lines of console.log.
Hello Sir, there is scenario that in admin panel I have to show wallet balance there is separate component of wallet balance when there is any transaction update the wallet balance so how to show that updated wallet balance because wallet balance is comes from api using signal. Please guide me for this scenario.
In this video u r explaining concepts of signals is very good ..but what is the signals and when it is used ...its main purpose there are missing ...please explain first why we use it ...
You are doing great job, but I think, probably you have made a little mistake in the explanation of counterEffect() function. As I understand, counterEffect() call effect(...) which REGISTER a function, which will be called every time any signal will be updated. So you have to call it in constructor(), not in setCounter().
In the last version of your code during clicking "Set counter" button it sets to a signal variable (counter) a new value and sets also information, that a signal value was changed. Then you register (calling counterEffect() which calls effect()) a function to react on signals changes. Once registered, this function see that it was a change and call the lines with console.log. And it normally works. But if you press the button one more time, you register a NEW, SECOND function, and because of that, you have doubled the lines of console.log.
Thanks for clarifying it. Appreciate your sharing of knowledge
Thank you so much... please upload videos on daily basis...it's request
Sure. Expect daily videos on Angular
Can you please provide the Angular 17 notes? Which is you created while videos
Sure. I will post the notes in the github soon
Hello Sir,
there is scenario that in admin panel I have to show wallet balance there is separate component of wallet balance when there is any transaction update the wallet balance so how to show that updated wallet balance because wallet balance is comes from api using signal.
Please guide me for this scenario.
Sir, I have a question when and why should we use Signals, how its changing the user experience for an app?
Signals can be useful specially when u want side effects for data that’s changing say search, edit, update etc
In this video u r explaining concepts of signals is very good ..but what is the signals and when it is used ...its main purpose there are missing ...please explain first why we use it ...
Awesome video. From Nepal
Thanks so much for liking the tutorials 👍
Thank you so much sir
You are most welcome! Glad you are enjoying the series 👍
Thanks
Glad you liked the tutorials 👍
@@ARCTutorials Please post the tutorials about advanced routing & forms and HTTP