We often display a loading indicator when retrieving data. This is especially useful if the user's connection is slow.
This video demonstrates an easy way to display a loading indicator using signals.
Links
Code: https://stackblitz.com/~/edit/sia-loa...
YouTube video: "Signals in Action: Building an App": • Signals in Action: Building an App
YouTube video: "First Look at Angular's new resource() and rxResource()": • First Look at Angular's new resource(...
Content
00:00 Easiest way to display a loading indicator
00:14 Sample application
01:59 isLoading property of a resource
03:22 isLoading in action
04:51 Implementing a loading indicator
06:35 Use the isLoading property of a resource
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
😊About Me
Hey! I'm Deborah Kurata
I'm a software developer and YouTube content creator. I speak at conferences such as VSLive and ng-conf. I write articles for freeCodeCamp. And I'm a Pluralsight author with courses in the top 10 most popular (out of 7,000+) for over 5 years. For my work in support of software developers, I've been recognized with the Microsoft Most Valuable Professional (MVP) award, and I'm a Google Developer Expert (GDE).
View my YouTube content: / @deborah_kurata
Contact me on Twitter: @DeborahKurata
Or on Bluesky: @deborahkurata.bsky.social
Find my Pluralsight courses: https://www.pluralsight.com/profile/a...
Access my freeCodeCamp articles: https://www.freecodecamp.org/news/aut...
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
#angular
#angularsignals
#angularstatemanagementwithsignals
#angularstatemanagement
#angulartutorials
#angularforbeginners
#angularbestpractices
#angularloadingindicator
#resource
#rxresource
#angularv19