Angular 17 Tutorial #28 - Signals Complete Tutorial | Angular 17 Tutorial For Beginners

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 17

  • @dariuszkonieczny6237
    @dariuszkonieczny6237 2 місяці тому +3

    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.

    • @ARCTutorials
      @ARCTutorials  2 місяці тому

      Thanks for clarifying it. Appreciate your sharing of knowledge

  • @saylimore7298
    @saylimore7298 6 місяців тому +2

    Thank you so much... please upload videos on daily basis...it's request

    • @ARCTutorials
      @ARCTutorials  6 місяців тому

      Sure. Expect daily videos on Angular

  • @angad.pathade
    @angad.pathade 4 місяці тому +1

    Can you please provide the Angular 17 notes? Which is you created while videos

    • @ARCTutorials
      @ARCTutorials  4 місяці тому

      Sure. I will post the notes in the github soon

  • @RahulShaw-v1g
    @RahulShaw-v1g 6 місяців тому +1

    Sir, I have a question when and why should we use Signals, how its changing the user experience for an app?

    • @ARCTutorials
      @ARCTutorials  6 місяців тому

      Signals can be useful specially when u want side effects for data that’s changing say search, edit, update etc

  • @pranavdeshmukh7119
    @pranavdeshmukh7119 5 місяців тому

    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.

  • @RahulShaw-v1g
    @RahulShaw-v1g 6 місяців тому

    Thank you so much sir

    • @ARCTutorials
      @ARCTutorials  6 місяців тому

      You are most welcome! Glad you are enjoying the series 👍

  • @ThilrashAmeen
    @ThilrashAmeen 6 місяців тому

    Thanks

    • @ARCTutorials
      @ARCTutorials  6 місяців тому +1

      Glad you liked the tutorials 👍

    • @ThilrashAmeen
      @ThilrashAmeen 6 місяців тому

      @@ARCTutorials Please post the tutorials about advanced routing & forms and HTTP

  • @rishavpokharel3328
    @rishavpokharel3328 6 місяців тому

    Awesome video. From Nepal

    • @ARCTutorials
      @ARCTutorials  6 місяців тому

      Thanks so much for liking the tutorials 👍