35,389 questions
-1
votes
0
answers
47
views
+100
The API does not work after clearing the cache on Andriod
I am developing an application in React Native v.0.78.0 using RTK query for back queries. Previously, everything worked fine, but not so long ago I discovered that after clearing the application cache ...
-1
votes
0
answers
25
views
How to create a new reducer in Jitsi Meet? [closed]
I have been trying to create a new global state in Jitsi Meet, but I am not able to do it. I don't know if I am not registering the reducer that i am creating correctly or if im missing some steps. I ...
-1
votes
0
answers
26
views
Redux Typescript serialize own objects [closed]
I am using redux to create an API-Slice, and I want to send other types than thos fulfulling isPlain (e.g. some objects I get via Rust in WebAssembly). Thus, I have extended the middleware using, as ...
-1
votes
0
answers
32
views
Redux Dev Tools updating but console or state not updating
In my Next.js project where I use Redux, I run the addToCart action with useDispatch and it reaches the reducer but the state is not updated.
You can check the codes right there
basketSlice.ts
import {...
0
votes
0
answers
29
views
Redux toolkit synchronization between server store and client store not working
I have set up an apiSlice on the server to fetchProducts in Next.js but the client is not getting the server side store info. There seems to be a lot of conflicting information out there with next-...
1
vote
1
answer
23
views
rtk query and store management
I understand that RTK Query signifies a shift in thinking from Redux store / state management, and the general paradigm is that you use the RTK Query endpoint anytime you need data, and rely on it to ...
1
vote
1
answer
63
views
Angular 19 with NgRx: NullInjectorError: No provider for _StoreRootModule and CSP violations
I am building a login app using Angular 19 with NgRx for state management. I want to store the authentication state using NgRx. My app is set up with standalone components and uses ApplicationConfig ...
1
vote
1
answer
32
views
RTK Query Mutation with selector
I've used redux toolkit for a few years and I'm pretty familiar with it. I'm going through and attempting to update old code using the newer RTK Query strategy to replace some of my old slices and ...
-1
votes
1
answer
54
views
dispatching two consecutive asyncthunk actions resulting in inconsistent behaviour
I'm building a nextjs app with redux and I'm at the point where I'm dispatching two consecutive asyncThunk actions to the backend api, one action sends a DELETE request and the other sends a POST ...
0
votes
1
answer
65
views
RTKQuery with SignalR Websocket
I'm attempting to use RTK Query with a signalR websocket service to keep my react app up to date with server data.
My RTK API looks like this:
export const hubConnection = new signalR....
-1
votes
0
answers
49
views
Uncaught TypeError: Cannot set properties of undefined (setting 'Children') with redux Provider
I got the following error on vite preview after vite build. I have used React 19, I got the same error even after rolling back to React 18. If I remove the <Provider>, it works, but with ...
-1
votes
0
answers
31
views
@reduxjs/toolkit configureStore middleware typescript error
In my React application, I am using react-redux along with ReduxJS Toolkit.
I have upgraded @reduxjs/toolkit from 1.6.1 to 2.6.1. There were some migration steps I had to do in order to get everything ...
-1
votes
0
answers
25
views
Why RTK query refetch data without optional chaining
I have a custom hook that tells whether user has particular permission or not. Here's the code
const usePermission = (object: string, action: actions) => {
const toc = useAppSelector(mySelector);
...
0
votes
0
answers
29
views
Why does expectSaga(watchLayoutFlow).take(OPEN_MAP).run(); throw "saga argument must be a Generator function!"?
I am trying to test a Redux-Saga using redux-saga-test-plan, but I keep getting the error:
runSaga(options, saga, ...args): saga argument must be a Generator function!
Here is my saga:
export ...
0
votes
0
answers
60
views
NextJS 15 - SSR fetching with RTK query & Redux
I'm having a little problem on my SSR calls for RTK query, they provide hooks to use but in the case of server side rendering, how do I fetch data via RTK query?
I could not find a solution for it and ...