#rxResource
My technical blog is live: Angular posts on signals, httpResource, rxResource, incremental hydration, plus an Nx monorepo running Angular, React, Vue, Svelte, Qwik, and Solid, and git worktrees.

Starting to publish regularly. Learning as I go

blog.alidevhub.com?utm_source=b...
Engineering notes
Deep dives into Angular, RxJS, CSS, tooling, and front-end career growth.
blog.alidevhub.com
November 6, 2026 at 2:35 PM
If you copy one signal into another inside effect() in Angular, the docs say that value belongs in computed().

computed() is lazy, memoized, and read-only.

What I try to follow: derived state = computed(); work outside signals (logging, localStorage) = effect()

blog.alidevhub.com/post/angular...
Angular Signals and Resource APIs Explained
How Angular moved from Zone.js to signals: signal, computed, effect, linkedSignal, resource, rxResource, httpResource, plus zoneless by default in Angular 21.
blog.alidevhub.com
November 9, 2026 at 4:27 PM
Supercharge Auth with Signals and the New Okta Angular SDK
tech_blogs_okta

#SecurityAndCryptography
Supercharge Auth with Signals and the New Okta Angular SDK
The Okta Angular SDK is standalone-ready! Add authentication to an Angular v22 app and load user groups with signals and rxResource.
developer.okta.com
August 25, 2026 at 5:27 PM
Angular resource() makes async a signal: params + loader → value()/status()/error(), auto re-runs when params change and cancels the stale request. No manual loading/error flags. rxResource() = the Observable version. #angular
August 25, 2026 at 7:00 AM
I haven't used signals so I might be wrong here, but doesn't rxResource return a WritableSignal. So if you would set its value via 'countries.set()', only the computed will be reevaluated, not the rxjs mapper?
December 2, 2024 at 11:48 AM
Angular 19.2 Is Now Available
Angular 19.2 Is Now Available
And we’re back with Angular’s latest minor release, version 19.2, bringing new APIs and experimental features to empower developers on their next great app.Expanding reactivity beyond synchronous In Angular v19 we released the experimental resource API, continuing our reactivity story to a new chapter — asynchronous reactivity. With this release, we’re thrilled to introduce two significant updates: asynchronous reactivity with the new httpResource and resource streaming with rxResource APIs. Developers have been able to use signals for synchronous state in Angular since their introduction in Angular v16. At the same time developers have been curious as to how they can leverage the power, readability and maintainability of signals for asynchronous dependencies. The resource API makes it possible to interact with asynchronous data sources while leveraging the developer experience and ergonomics of signals. The resource API is a foundational building block for incorporating asynchronous actions like data fetching in Angular. Here’s an example of how you can use resourcein your application:/* component.ts */ readonly id = signal(1); readonly todoResource = resource({ request: ()=> ({id: this.id()}), loader: async ({request}) => (await fetch( `https://jsonplaceholder.typicode.com/todos/${request.id}`)).json(), }); /* component.html */ <p>{{ todoResource.value() }}</p> If the id value updates, the loader reactively triggers the defined asynchronous operation again. Then, in the template for the component, the current value can be accessed via .value(). While this API is helpful, one might naturally conclude that they should use this API to fetch data asynchronously. Thanks to Mattieu Rigler for his helpful contributions, we now have another great new API for you to try out: httpResource Used for fetching data, the experimental httpResource API creates a low friction reactive way to fetch data over HTTP. httpResource participates in Angular’s reactivity system with signals. Here’s an example of using it in action:// returns a signal currentUserId = getCurrentUserId(); // A reactive function as argument user = httpResource(() => `/api/user/${currentUserId()}`); Here, httpResource reacts to changes in the signal currentUserId. When currentUserId updates, httpResource triggers a new asynchronous request. Because the API leverages HttpClientit gives you access to features such as interceptors. While we’re on the topic of asynchronous requests there’s one more update that we think you’ll really enjoy. We’ve added support for streaming multiple responses using the rxResource API. Check out this example:/* component.ts Using a BehaviorSubject and an setInterval to create a stream of values that generates a new value every 1000ms */ readonly subject = new BehaviorSubject<number>(1); readonly intervalId = setInterval(() => { this.subject.next(this.subject.value + 1); }, 1000); /* rxResource will stream values as they arrive */ readonly resource = rxResource({ loader: () => this.subject, }); /* component.html Display the latest values that have been returned */ <section> <p>{{ resource.value() }}</p> </section> This could be helpful in scenarios where you are connecting to an endpoint that returns multiple values. These new APIs are still under development and what’s great is that there’s a new RFC (request for comments) for the resource API available for you to share your thoughts and help us shape this new API.Better template ergonomics and more The Angular template authoring experience just keeps improving. Angular templates now support untagged template literal expressions, making string concatenation and escaping single or double quote strings easier. For example, it’s less cumbersome to dynamically interpolate a value from your class into your template. Check out this example:<div [class]="`layout col-${colWidth}`"></div> This improved experience makes interpolating values even smoother. This isn’t the only update we’re launching in Angular v19.2 — there are new migrations such as being able to migrate to convert to self closing tags (thanks eneajaho!), supporting the Set type in forms, adding skip hydration diagnostic and so much more. If you’d like to see even more updates from Angular v19.2, be sure to check out the change log on GitHub.Get the latest and greatest from Angular today Angular v19.2 is ready for your applications today so go ahead, update and go build great apps. New to Angular? Check out angular.dev/tutorials to start building with Angular today. Author Mark (Techson) Thompson Angular 19.2 Is Now Available was originally published in Angular Blog on Medium, where people are continuing the conversation by highlighting and responding to this story.
blog.angular.dev
March 6, 2025 at 5:00 AM
Creating Custom rxResource API With Observables
Creating Custom rxResource API With Observables
At the time of writing this article, Angular is approaching the version 19 release and it brings a new API called resource. A great in-depth article is to read Enea Jahollari - Everything you need to…
buff.ly
November 15, 2024 at 4:39 PM
🔖 "feat(core): experimental impl of `rxResource()` (#58255) · angular/angular@9762b24" https://github.com/angular/angular/commit/9762b24b5e8d7ab3ed2321959492a77b01d8ae57
October 21, 2024 at 11:05 PM
This is cool :D

FYI streaming is coming soon to the `resource()` and `rxResource()` APIs!
December 11, 2024 at 12:23 AM
@angular.dev.web.brid.gy 19 is around the corner 👀
Lots of SSR improvements and new signal-utilities are coming: linkedSignal, resource and rxResource
November 8, 2024 at 5:30 AM
Do you want to use rxResource in production? Stop scrolling and read this! The experimental 🅰️ #Angular Resource APIs have bugs that can break apps. In this article I’ll show fixes so you can ship with confidence.

angular.schule/blog/2025-10...
Angular.Schule → Angular's Resource APIs Are Broken - Let's Fix Them!
🚀 Angular ships with three Resource APIs for declarative async data loading: resource(), rxResource(), and httpResource(). They&#39;re powerful additions to Angular&#39;s reactive toolkit, but they sh...
angular.schule
November 2, 2025 at 7:05 AM
New 🅰️ #Angular article! Tired of writing backend services by hand? Generate fully-typed Angular API clients with OpenAPI generator, fast and reliable!

✅ Uses the new provideApi() syntax
✅ Bonus: toSignal() and rxResource() examples

angular.schule/blog/2025-06...
#OpenAPI #Swagger
Angular.Schule → Generating Angular API clients with OpenAPI Generator
🚀 In this article, we&#39;ll show how to use OpenAPI Generator to automatically generate Angular HTTP services from your OpenAPI spec.
angular.schule
June 19, 2025 at 8:27 AM
🚀 Two new RFCs for the NgRx SignalStore have landed!
1️⃣ deepWritableSignal – brings a nested writable Signal:
2️⃣ method – an RxJS-less alternative to rxMethod (kudos to Manfred Steyer)
Let us know your thoughts! 👇
github.com/ngrx/platfor...
github.com/ngrx/platfor...
RFC: `method` - `rxMethod` without RxJS · Issue #4581 · ngrx/platform
Which @ngrx/* package(s) are relevant/related to the feature request? signals Information Problem With Angular introducing resource and rxResource for handling asynchronous tasks, SignalStore could...
github.com
November 11, 2024 at 6:34 PM
How cool is the new resoure API available in #Angular v.19?

In this snippet we use rxResource, #rxjs and the forkJoin operator to handle multiple requests.

Each time we change the "userId" signal, two http calls will be made:
1. users/[id]: user's info
2. posts?userId=[id]: users' posts
November 20, 2024 at 12:13 PM
Angular v19.2 is now available - featuring the new httpResource, streaming with rxResource, updated untagged string literal support, and more improvements 🎉

Check out the new blog post and let us know what you think 🔥

https://blog.angular.dev/angular-19-2-is-now-available-673ec70aea12
Angular 19.2 Is Now Available
And we’re back with Angular’s latest minor release, version 19.2, bringing new APIs and experimental features to empower developers on…
blog.angular.dev
March 5, 2025 at 5:30 PM
If you’re experimenting with Signals or planning a migration, this is a practical guide to model loading, reloading, and real-time data without hacks

#Angular #Angular22 #AngularResource #AngularSignals #httpResource #rxResource #WebDevelopment #Frontend #TypeScript #ReactiveProgramming
August 2, 2026 at 10:38 PM
just means httpResource() should be your main workhorse, with resource() and rxResource() as tools you reach for when they really fit
#Angular #Angular22 #rxResource #resource #RxJS #Signals #httpResource #HttpClient #WebDevelopment #Frontend #TypeScript #DevExperience #Alidevhub
July 7, 2026 at 8:20 AM
But I’ll also say this => don’t overuse rxResource() yet. I still see httpResource() as the core API, and I highly recommend focusing on it first. That doesn’t mean you shouldn’t understand all the Resource APIs
July 7, 2026 at 8:20 AM
If you’re building with Angular, love RxJS, and want to use Signals plus HTTP resources more intelligently, give the note a read and try the examples in your project. Here’s the @hackmd.io link: 🔗 hackmd.io/@Ali-G/By7_T...
Angular Rx-Resource pattern - HackMD
rxResource() looks like a brand new API the first time you see it, but it is really just resource() wearing an RxJS costume. Same params, same idle status, same defaultValue, just swap the Promise for...
hackmd.io
July 7, 2026 at 8:20 AM
The main point of the note is that almost everything you’ve learned with resource() maps directly to rxResource(), because the API you get back is still a ResourceRef: you have value(), status(), error(), isLoading(), hasValue(), reload(), set(), update(), and destroy()
July 7, 2026 at 8:20 AM
That’s where rxResource() came in, so I wrote a new note:
“Angular rxResource() Patterns Worth Knowing” where I explain why rxResource() is not actually a new API; it’s the same resource() wearing an RxJS suit, with the same params, the same idle status, the same defaultValue
July 7, 2026 at 8:20 AM
Does RxJS fit into an Angular signal-based world?

In this video, I outline several scenarios and walk through a code example using RxJS and rxResource.

youtu.be/0UJjQ2pKgns

#Angular #rxjs #Signals
Does RxJS Fit into an Angular Signal-based World?
YouTube video by Deborah Kurata
youtu.be
August 28, 2025 at 2:58 PM
Do you still need rxjs in an angular application?

The answer is detailed in my latest course: www.pluralsight.com/library/cour...

✅React to events
✅ Retrieve and compose complex data (with rxResource)
✅Debounce user input

(Yep, that's 2 new @pluralsight courses in 2 months. 😱)
Angular: RxJS for Reactive Programming
www.pluralsight.com
July 17, 2025 at 3:36 PM
Why does @angular need a new API to retrieve data? Does the Resource API seem pointless or confusing?

In this video, I answer the *why?* question, telling the backstory of signals and the Resource API.

youtu.be/YHZkiUbbeOg

#angular #signals #resourceAPI
resource(), rxResource(), httpResource(): Why????
YouTube video by Deborah Kurata
youtu.be
March 4, 2025 at 4:16 PM
Welcome httpResource to the @angular resource API family!

In this video, we introduce the httpResource API (v 19.2), its purpose and two syntax options.

Then evaluate resource() vs rxResource() vs httpResource().

youtu.be/DefmIyp3Uho

#angular #signals #resourceAPI
First Look at Angular's new httpResource()
YouTube video by Deborah Kurata
youtu.be
February 26, 2025 at 4:06 PM