I have a price counter component. When I try to decrease a product qty to 0 it is deleted successfully but it affects the following product's qty and gives it 0
i want to iterate through an array but Im not sure if i can do this in the useSelector redux hook because it's not giving me the result that i want. Have any o
I am trying to use createEntityAdapter from reduxjs/toolkit to generate selectors automatically. I have created a "select all" selector successfully using creat
I am getting this warning in react: index.js:1 Warning: Cannot update a component (`ConnectFunction`) while rendering a different component (`Register`). To l
I am newbie in Redux Saga, trying to make an API call through Saga but it gets triggered multiple times. Below is my code. component.js (dispatch action inside
I am getting this TypeScript error Property 'hasError' does not exist on type '(state: ErrorType | undefined, action: ErrorActionType) => ErrorType'. which I
I am trying to migrate to redux toolkit, but just encountered an issue. Here's an example of simple counter slice. import { createSlice } from "@reduxjs/toolkit
I am making a food delivery app using react-native and redux. I want to fetch the data from the firebase store and for that, I have written a function in the ac
I want to type status with FetchingStatus type. How to implement that? type FetchingStatus = 'idle' | 'loading' | 'succeeded' | 'failed'; const initialState =
I'm new to react and when I'm updating my state in redux, I'm no able to see my state updated in my component inside a setInterval, despite the state in redux i
I am working on simple CRUD with react and react-redux and having trouble with POST in client sideBoardList.js import React, { Component, Fragment } from 'reac
I'm learning Redux and Redux Toolkit, but I don't understand why autocomplete doesn't work when I'm trying to dispatch an action (see the image below). I import
I'm using react-redux. createSlice: import { createSlice } from "@reduxjs/toolkit"; const datatableSlice = createSlice({ name: "datatable", initialStat
I'm currently playing around with redux saga and I'm having troubles implementing it correctly. Let's say I have a reducer which keeps track of how many times t
Hi I'm trying to get redux persist working with redux toolkit (also in typescript) I'm getting the following error: Exported variable 'store' has or is using na
I need to reset current state to initial state. But all my attempts were unsuccessful. How can I do it using redux-toolkit? const showOnReviewSlice = createSlic
I saw many articles that Redux is better than Context API in performance than high frequency updates, but nothing is specific and tell why. What makes people sa
I am new to react native and mobile development world. I am developing a mobile application with react native, it's basically an entreprise management app for H
I am new in Redux & RTK Query and I do not understand how I can fetch data from another endpoint when response of another endpoint is succeed. I created an
I want to reach the data of 'audience' under an endpoint where it shows in Redux dev tool of Google Chrome. Is it possible to reach it like we reach the localSt