Skip to main content
0 votes
1 answer
88 views

I have a computed in my signal store, which should react on a value change but it just fires 1 time at creating and not when signal values are changing const initialData = { gridItems: [] as ...
andy's user avatar
  • 53
0 votes
0 answers
47 views

I'm having an odd interaction with NGRX and Routing whereby when I revisit a page I have previously been on and subscribe to an Effect it gets the data twice; but this only happens when the page I ...
jProg2015's user avatar
  • 1,128
-1 votes
1 answer
99 views

I am using the NGRX upsertMany and sending multiple partial as an array but it looks like when there are multiple updates in the same array for the same record only first one is picked e.g. when the ...
Angad's user avatar
  • 1,132
1 vote
0 answers
52 views

I defined a number of effects, whose first one has dispatch: false: readonly abort$ = createEffect(() => { return this.actions.pipe( ofType(myActions.abort), tap(...
Hilbert's user avatar
  • 33
1 vote
0 answers
20 views

I use NGRX 18 and Angular 18, I am trying to inject actions$ into my effect via constructor, but this doesn't work import { inject, Injectable } from "@angular/core"; import { Actions, ...
Simone Buscaino's user avatar
2 votes
1 answer
83 views

I'm going to try and be as thorough as I can describing the issue I'm having. I'm working in an enterprise proprietary codebase so there's not much actual code I can share, but I'll do my best if ...
Charlie's user avatar
  • 43
1 vote
1 answer
93 views

I am working on an Angular project and using karma.js with jasmine to write and execute unit tests. My problem is that if I want to unit test the functional ngrx effect without the TestBed, the ...
kristof's user avatar
  • 141
2 votes
1 answer
783 views

I am using Angular 18 and ngRx. I wrote a following effect: import {Injectable} from '@angular/core'; import {Actions, createEffect, ofType} from '@ngrx/effects'; import * as PostsActions from '../...
CodeGrinder's user avatar
1 vote
1 answer
74 views

orgChangedSuccess$: Observable<Action> = this.actions$ .ofType(orgActions.UPDATE_ORG_SUCCESS) .map(toPayload) .switchMap((org) => { return Observable.combineLatest( ...
James C's user avatar
  • 13
0 votes
1 answer
53 views

I am trying to create a login page. I am using angular with ngrx for state management. login.action.ts import { createAction, props } from "@ngrx/store"; export const loginRequest = ...
Soumen's user avatar
  • 9
2 votes
0 answers
217 views

I am using Angular signal and to execute change in signal using effect function. How to mock signal to trigger effect during unit test. import { effect, Injector, Signal } from '@angular/core'; ...
Jack Nil's user avatar
3 votes
3 answers
746 views

So I'm working on a colaborative document editor application and I'm using NgRx effects here to induce a state change based on another state change. I've installed the package, configured the app....
georgio bou sleimen's user avatar
0 votes
1 answer
207 views

In my Angular + ngrx application, I have an @Effect triggered by an Action. Code is below @Effect() customAction$ = this._actions$.pipe( ofType<CustomAction>(Actions.CustomAction), tap(()...
NickAth's user avatar
  • 1,112
1 vote
2 answers
338 views

Framework: Angular v18.1.0 Dependencies: RxJS v7.8.0 @ngrx/effects v18.0.2 @ngrx/store v18.0.2 Given the following RxJS architecture. I have a simple reducer with one state and an interface with a ...
Mark Hill's user avatar
  • 1,851
0 votes
1 answer
70 views

I have a store with actions, effects, reducers, and selectors. I have a component on the screen, and the component represents a store object, obtained via a selector. What I'm trying to do is, I think,...
emery.noel's user avatar
  • 1,223

15 30 50 per page
1
2 3 4 5
65