The Resource API, set to launch with Angular 19, introduces a new reactive approach to loading data using the HTTP protocol. Developers can create resources that return promises, manage state, and update data locally. Key features include handling overlapping requests with the abortSignal, differentiating between tracked requests and untracked loaders, and optimizing API calls. This API is tailored for data loading rather than mutations, simplifying state management in Angular applications.

6m read timeFrom telerik.com
Post cover image
Table of contents
Working with the Resource APISummary

Sort: