Course lesson
Initialize the NGRX Signal Store state from using RxJS Observables and rxMethod
In this lesson, you’ll learn to integrate external services with NgRx Signal Store using RxJS operators for reactive state management.
- Duration
- 10 min
- Access
- Free
- Transcript
- Retained from source evidence
In this lesson, you’ll learn to integrate external services with NgRx Signal Store using RxJS operators for reactive state management.
You'll be making adding an additional call to withMethods in your signalStore to group methods related to an external HTTP service. Then, you'll bring in rxMethod from the @ngrx/signals/rxjs-interop package.
Within rxMethod you can use RxJs methods. In this example we'll be using pipe, switchMap, and tap.