Quantcast
Channel: NGRX reducers using the same state object - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by MilV for NGRX reducers using the same state object

This solutionSplitting big reducer into smaller reducersis not exactly to your question in grabbing the same state object.here my solution that might be solvable:export const mergeReducers =...

View Article



Answer by Tony Ngo for NGRX reducers using the same state object

At first part you already mention that spliting reducer to small reducer so I would not mention again.Secondly you can use NGRX/Entity to let NGRX handle CRUD operation for you so the code complexity...

View Article

NGRX reducers using the same state object

I have these two reducers:export function reducer1(state: State = initialState,: Actions1.Actions1);export function reducer2(state: State = initialState,: Actions2.Actions1);I need those reducers to...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images