Why did we need Signal Inputs in Angular, again?

SdĂ­let
VloĹľit
  • ÄŤas pĹ™idán 21. 01. 2024
  • #Angular #Signals #reactivity
    Angular 17.2 has got signal inputs, but you might be wondering why did we need them in the first place? I go through the evolution of inputs and reactivity in Angular and discuss exactly why!
    đź’– Support my shop at Buy me a coffee:
    www.buymeacoffee.com/zoaibkha...
    📽️ My courses:
    zoaibkhan.com/courses
    ✍️My blog for more free Angular posts:
    zoaibkhan.com/blog
    Socials:
    Twitter - / zoaibdev
    Facebook - / thisiszoaib
    LinkedIn - / zoaib-khan-b6456815
    Cheers :)
  • VÄ›da a technologie

Komentáře • 16

  • @yarikar
    @yarikar PĹ™ed 2 mÄ›sĂ­ci

    Your videos are sooo underrated. Thanks for sharing them! This was my favorite video on the topic. Great pace and awesome example to show what`s the point of signals!

    • @ZoaibKhan
      @ZoaibKhan  PĹ™ed 2 mÄ›sĂ­ci

      Glad you liked it! More coming soon :)

  • @segundonunes
    @segundonunes PĹ™ed 5 mÄ›sĂ­ci +2

    Great video. Congratulations!

    • @ZoaibKhan
      @ZoaibKhan  PĹ™ed 5 mÄ›sĂ­ci

      Glad you liked it!

  • @LarsRyeJeppesen
    @LarsRyeJeppesen PĹ™ed 5 mÄ›sĂ­ci

    Another aspect is that this is a piece of the puzzle to be able to remove zoneJS. Soon there will be a component flag to opt out of zone completely for that component. A component that is signa based will no need it . This will also open up to change detection on level, which is insanely cool and performant.

    • @ZoaibKhan
      @ZoaibKhan  PĹ™ed 5 mÄ›sĂ­ci +1

      Aah, yes, really looking forward to that! Plus, signal based view queries (ViewChild) are coming soon as well 🤞
      Exciting times for Angular devs :)

    • @LarsRyeJeppesen
      @LarsRyeJeppesen PĹ™ed 2 mÄ›sĂ­ci

      Annnd now we are here with Angular 18 next 5. Boneless is finally here

    • @ZoaibKhan
      @ZoaibKhan  PĹ™ed 2 mÄ›sĂ­ci

      @@LarsRyeJeppesen haha, boneless :p

  • @ringrazorRulez
    @ringrazorRulez PĹ™ed 4 mÄ›sĂ­ci

    Nice Video! How do i handle input validation with this InputSignal approach?

    • @ZoaibKhan
      @ZoaibKhan  PĹ™ed 4 mÄ›sĂ­ci

      Thanks! What kind of validation are you looking for?

    • @ringrazorRulez
      @ringrazorRulez PĹ™ed 4 mÄ›sĂ­ci

      @@ZoaibKhan like validation with a FormControl :)

  • @Brendan2Alexander
    @Brendan2Alexander PĹ™ed 5 mÄ›sĂ­ci

    helpful thank u

    • @ZoaibKhan
      @ZoaibKhan  PĹ™ed 5 mÄ›sĂ­ci +1

      You're welcome, Brendan!