redux-toolkit
redux-toolkit copied to clipboard
The official, opinionated, batteries-included toolset for efficient Redux development
Hi everyone! We're running into a challenge similar to [#3350](https://github.com/reduxjs/redux-toolkit/issues/3350) in our project, and we’d love to get your thoughts on a possible solution. ## What’s Happening We’re working on...
**Description** Query retries continue retrying even after component with `useQuery` is unmounted **How to reproduce** 1. open [sandbox link](https://codesandbox.io/p/devbox/nice-feistel-xdxxg7?file=%2Fsrc%2FApp.tsx&workspaceId=ws_7kyCL8ZrfjHbYMzKnFSEpf ) 2. open Network tab in dev tools 3. find 404...
I've got a use case where a query takes a bunch of data as input. Like a lot. So since I don't want to end up with a cache key...
Should this type be a boolean instead of `false` ? Or am I missing something about how to set this up properly ? https://github.com/reduxjs/redux-toolkit/blob/af3e75bb9e6a51e13603d2a5684ef3ba1da07e3b/packages/toolkit/src/query/react/buildHooks.ts#L1241 Looks like at runtime it is...
extractRehydrationInfo giving "TypeError: iterator method is not callable" since Redux Toolkit 2.7.0
We're using RTK Query with `extractRehydrationInfo` to persist state with Redux Persist. Since Version 2.7.0 we're getting a `TypeError: iterator method is not callable`, when rehydrating from a persisted state....
Fixes #4995 I just added this code that @phryneas suggested in the discourse there, incase we wanted to run with that suggestion. Can also read the thread there, but @EskiMojo14...
Thank you for your work on redux-toolkit, it really is an amazing library. I'm using `createEntityAdapter` to keep my data normalised and it's working very nicely, however, my use-case means...
This is my first PR in Redux , so please let me know if I missed anything! 🛠 Fix: Chakra UI version upgrade for React 19 compatibility in examples Chakra...
What should be the `errorResponseSchema` when the `transformErrorResponse` is used? Here is the [example](https://stackblitz.com/edit/vitejs-vite-zjkngv6e?file=src%2Fapi.ts) of my configuration and there is a type error for the `errorResponseSchema` however it works in...