Why did we need Signal Inputs in Angular, again?
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
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!
Glad you liked it! More coming soon :)
Great video. Congratulations!
Glad you liked it!
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.
Aah, yes, really looking forward to that! Plus, signal based view queries (ViewChild) are coming soon as well 🤞
Exciting times for Angular devs :)
Annnd now we are here with Angular 18 next 5. Boneless is finally here
@@LarsRyeJeppesen haha, boneless :p
Nice Video! How do i handle input validation with this InputSignal approach?
Thanks! What kind of validation are you looking for?
@@ZoaibKhan like validation with a FormControl :)
helpful thank u
You're welcome, Brendan!