I'm working on an existing project with working Redux Saga. Everything is already setup (action creators, action types, reducer, selectors, sagas…). I ...
I'm working on an existing project with working Redux Saga. Everything is already setup (action creators, action types, reducer, selectors, sagas…). I ...
I am doing a login form for react and I am using redux for the state management. This will be connected to server but I want to try it first with a so ...
Inside my functional component i need to check if sort order was changed and if it was i need to highlight a sort button. Default order is described i ...
I'm using Redux toolkit and adding product items to the cart using redux in my eCommerce app, products are adding to the cart perfectly also I tried t ...
i have several extraReducers, that do the same action. I wonder if i did it right: I tried to write each extraReducer separately, it also worke ...
Situation: Let's say there are two Slice components defined using redux-toolkit. Because the data category is different, that is why each of them is ...
I'm creating the todo-app with Redux Toolkit. In this app I have three slice-components which has almost the same logic. All initial states of these c ...
I made increment & decrement counter buttons, I'm using redux to trigger actions of increment and decrement but Im getting "Counter.js:11 Uncaught ...
I am using redux in typescript, i want to make a reducer that will update the state of the store, and my types are: my actionCreators.ts is like th ...
I have a createSnapshot reducer that will store snapshots of a portion of a slice as the state is being mutated. I have 30+ reducers for the slice. Ra ...
In Redux, I dispatched actions regarding the reducer cakeReducer. But both the state of cakeReducer and IceCreamReducer is being changed, though no ac ...
at my first attempt to incorporate Typescript into my redux toolkit , i got an issue defining my reducers in Redux Slice at my above code i get squ ...
I am trying to make the correct delete and update requests for the workout object an I get an error that says the filter is not a function as I am usi ...
i'm learning NGRX and i don't know what i miss for update a state value from a model with the reducer. First i have this model: I have define this ...
I have an api which gives me the result, and I can see the data in my console, but I'm not able to get it in useSelector. as you can see I tried us ...
this is my State:- this is My reducer:- this is what error I am getting:- I want to update the name property of role in array of roles. So I a ...
I'm trying to update an object that is nested in an array of arrays. I am passing my payload which looks like this: But my redux state does not ...
I am using createSlice to create slices of state. Let's call them sliceA and sliceB. Mostly these slices are decoupled from each other. However I woul ...
On my website, my user can connect to two different types of accounts. This is the authentification scenario. Connection A: User click on connection ...
I have implemented successfully a redux-toolkit api. Now Im trying to use createEntityAdapter to be able to use the pre-built selector methods. impor ...