Angular 19 Resource API is exactly what we needed!

Опубликовано: 01 Ноябрь 2024
на канале: Zoaib Khan
1,605
82

#angular #signals #datafetching

✨Check out my humble Angular shop: https://zoaibkhan.lemonsqueezy.com/

📽️ The problem with Angular Signals and Async Reactivity:
   • The problem with Angular Signals and ...  

Learn more about the Resource API:
https://push-based.io/article/everyth...
https://github.com/angular/angular/pu...

In this video, we dive into Angular 19's new experimental Resource API, designed to handle external data from API calls seamlessly, including error states and loading states. The video explains what a 'resource' is, how to use the API in a sample Angular application, and showcases its functionalities like reactive data handling, manual refreshing, local changes, and more.

📽️ My courses:
https://zoaibkhan.com/courses

✍️My blog for more free Angular posts:
https://zoaibkhan.com/blog

Socials:
Twitter -   / zoaibdev  
Facebook -   / thisiszoaib  
LinkedIn -   / zoaib-khan-b6456815  

Sections:
00:00 Introduction and Previous Video Recap
00:22 Introducing Angular's New Resource API
00:55 Understanding Resources in Angular
01:23 Practical Example: Angular Search Bar Application
03:11 Implementing the Resource API
07:50 Handling Loading and Error States
09:35 Manual Refresh and Local Changes
12:38 Tracking Resource Status
14:21 Conclusion and Final Thoughts