Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
96 views

I’m debugging a subscription-ordering issue in React-Redux v9 (React 18, modern useSyncExternalStore-based subscriptions). I have a parent component that conditionally renders a child based on Redux ...
user31782's user avatar
  • 7,815
Best practices
0 votes
2 replies
56 views

I've been reading up on React/Redux documentation, specifically on setting up types for the main redux application store, and was wondering if there are any significant differences when it comes to ...
Talos0248's user avatar
  • 260
0 votes
2 answers
170 views

I'm working on a React application and am trying to understand the fundamental difference between Redux and Zod. I've seen both mentioned in discussions about managing state, and I'm confused about ...
1xcoder's user avatar
  • 17
0 votes
1 answer
120 views

I’m using RTK Query in a React component to fetch users: function MyComponent() { const { data, isLoading, isError, isSuccess, } = useGetUsersQuery(); if (isLoading) { return <div&...
lucataglia's user avatar
0 votes
0 answers
102 views

The request is frozen on the pending status, the loading status does not change in the component {status: “pending”, isLoading: true, data: undefined}, I see the response in devTools and in my API, ...
Mykola Kosobutskyi's user avatar
-1 votes
1 answer
88 views

I have legacy application using vanilla redux and react-redux. I am facing this issue and unable to get root cause of this. Could not find "store" in either the context or props of "...
sharat kumar's user avatar
0 votes
1 answer
109 views

I'm encountering the following issue on Android after upgrading my React Native project to version 0.79.2. This error does not occur on iOS, which makes it harder to trace since the same codebase ...
Neelam Pursnani's user avatar
1 vote
1 answer
56 views

I have a SignalR (WebSocket) server for a game, and a React/Redux client that connects to it. I have a component whose task is to listen to SignalR messages to handle them, which usually involves ...
Kaisa Azaria's user avatar
1 vote
2 answers
140 views

I have one function which checks for user authorization export const authUser = (rideId, action) => { return (dispatch, getState) => { const postData = { consumer: "Rapi", ...
C P Verma's user avatar
  • 340
0 votes
0 answers
51 views

Consider the following, where I have a component that has a generic type parameter used as the parameter argument of a callback property: import { render } from '@testing-library/react-native'; import ...
msbit's user avatar
  • 4,433
2 votes
2 answers
41 views

I am currently working on a React-Redux based Cart app, and I am experiencing the following problem: When I continuously click the remove button in order to remove a product from my cart, the ...
Tom Vuma's user avatar
-1 votes
1 answer
63 views

I'm sure this has been asked and answered, but maybe I'm not able to phrase it correctly to find the right results. Say I have two redux middleware operations: a call to create an asset entity in the ...
micahg's user avatar
  • 36
2 votes
1 answer
95 views

Has anyone used tests with Jest and run into issues where a Redux store persists between tests? Any ideas on how to reset it or prevent this? await act(async () => { render( <...
CodeMas's user avatar
  • 23
1 vote
1 answer
48 views

In our reducer, we’re updating a nested array with new data coming from the backend. However, certain UI-specific properties (like tooltip) that are not part of the backend response need to be ...
dlocyalp's user avatar
0 votes
1 answer
331 views

when I upgrade the redux version from 4.2.1 to 5.0.0, shows error: Module '"redux"' has no exported member 'CombinedState'.ts(2305) I have read the official release notes: https://github....
Dolphin's user avatar
  • 40.9k

15 30 50 per page
1
2 3 4 5
2369