Category "ngrx"

Format data in store with @ngrx/data and @ngrx/entity, not in component (subscriber)

While working with ngrx/data I find myself parsing and formatting data from the store in multiple places: converting strings to date objects or formatting strin

Returning Value from inside NgRx Select

Seems a simple question but I am new to RxJs. How do I return the value from a store subscription so that it is not an observable but the actual value? I am cal

ngrx selector return same values multiple times

I have a export const selectIDs = creteSelector( selectorFeature, (feature: Feature) => { return feature?.metadata?.ids || [] } } in the

Is there a way to get an initial event when using firestore/angularfire collectionChanges() on an empty collection

I am using Firestore with AngularFire and am currently trying NgRx for a new feature. As recommended, I am using collectionChanges instead of collectionData, to

How to update order of entities in NGRX? angular 9

I am building an application, where I have N columns (N lists of items) and by using a drag & drop from angular material I am able to move items between the

NgRx Angular App not working with Redux DevTools

So I'm following this tutorial to get familiar with ngRx Entity, and for some reason my redux dev tools isn't 'lighting up' to indicate that it's in an app that

The pipe 'ngrxPush' could not be found

I am new to NgRx and I have being learning for the past week. So, I was trying to check the Push Pipe and let directive. According to NgRx Documentation the ins

Why does ngrx/store example app use multiple stores? (how to design store)

I am trying to make a rather big, scalable application and I was told it is best practice to have one single store storing the current global state (including b

NullInjectorError: No provider for StateObservable when using ng-packagr

I have an Angular 5 project that uses ngrx/store. The project consists of an application and a shared library that the application uses. Up until today, we had

How do i pass heavy json data object on navigation in angular 12?

I am working on an Angular 12 project where I want to pass a heavy json data from one screen to another after navigation. Sample code is as below: Component 1 i

How to set default query params for Route in Angular 7?

In our Angular-7-Application, we use @ngrx and @ngrx/router-store to get the query params into the state. A few components of the application are paginated lis

How to handle ngrx let with many subscribes as ng-container inside ng-container?

I start using ngrx let to using plain objects. The problem is when I use a lot of observables in my component, I end up with the code which is seems bad (ng-con

Reconnecting a websocket in Angular and rxjs?

I have a ngrx/store (v2.2.2) and rxjs (v5.1.0) based application that listens to a web socket for incoming data using an observable. When I start the applicati

@ngrx/store - The store does not return the data in async/away manner

I have a problem while getting the value from the store. The operation hangs. I try to get the data in the following way: async onInit(params: Params) { //