redux-toolkit
redux-toolkit copied to clipboard
The official, opinionated, batteries-included toolset for efficient Redux development
- The [Quick Start](https://redux-toolkit.js.org/tutorials/quick-start) docs page doesn't change the file extension from `js` to `ts` on selection. https://user-images.githubusercontent.com/38923768/187497604-4e0e0626-cda8-45f9-9c5a-b34bcb56f60d.mov
Swagger Parser supports an [options](https://apitools.dev/swagger-parser/docs/options.html) parameter in its bundle function. RTK Query codegen currently only allows setting the schema url in `scemaFile`, but not the additional options parameter. One use...
Hi, Curious what the team's stance is re: maintaining different domains and knowledge bases for Core vs RTK. Given how hard the maintainers have been advocating for RTK usage, even...
Is there a way to transform the query parameters which are passed to endpoints? I want to add default values in case query parameters is missing any.
Hi guys and thanks for the toolkit. "Automatic re-authorization by extending fetchBaseQuery" from [customizing queries](https://redux-toolkit.js.org/rtk-query/usage/customizing-queries) is pretty nice. But suppose we run several queries at once - all of them...
I have a query and a mutation endpoint. They use auto-invalidation using `providesTags` and `invalidatesTags`. But the problem I'm having is that the moment the mutation invalidates the cached query...
Hello 👋 In documentation https://redux-toolkit.js.org/rtk-query/usage/usage-without-react-hooks#removing-a-subscription is specified a different way of subscription - un-subscription method for a `query`, but how to we do it with a hook ? ``` const...
Hi, is there a way to enable some sort of rate limiting for refetch on focus? Currently if a user clicks wildly around - i.e. between adress bar and content,...
I have a client side react app, navigation is done using react router v 6. In the root component (always mounted), I have a hook query with the flag `refetchOnFocus...
The documentation lacks of example for typescript [https://redux.js.org/usage/code-splitting#using-a-reducer-manager](https://redux.js.org/usage/code-splitting#using-a-reducer-manager) so I tried it by myself but couldn`t solve the problem. Need your help. [TypeScript Playground](https://www.typescriptlang.org/play?ts=5.3.3#code/JYWwDg9gTgLgBDAnmApnA3nAKslATAVQGcUBlFAGxQGMZoAJCCAazgF84AzKCEOAcigoAhrQC0QvAFcAHvwDcAKFCRYCXBjgBBWsAgA7ADRwASvinUUUY2emWoRALLCwAeQBGAKxrwO3XgIAApKynkQA9HQQFMzAMAqKyuDQ8JhSJACinJw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