If you're not on reddit, you probably missed this 😄
httpResource : An HttpClient based resource, which means ... a first Http API without Observables.
(but we still love RxJS and you know it ❤️)
httpResource : An HttpClient based resource, which means ... a first Http API without Observables.
(but we still love RxJS and you know it ❤️)
Comments
Resource are async state primitives, they’re not meant for mutations (at least yet).
So POST/PUT/DELETE will likely require a new Promise based client (or use the existing one)
Medium/Long term I would expect that we land a new promise based HttpClient to complete the « data fetching story » without Observables.
https://stackblitz.com/edit/angular-resource-ws