redux-toolkit icon indicating copy to clipboard operation
redux-toolkit copied to clipboard

The official, opinionated, batteries-included toolset for efficient Redux development

Results 422 redux-toolkit issues
Sort by recently updated
recently updated
newest added

When running tests for the **FetchBaseQuery** with a non-JSON body, there is a mismatch in the expected and received error messages. Specifically, the error formatting differs in how it handles...

rtk-query

In some situations, the backend processing of a request can take a long time or be very expensive. In this situation it would be good to be able to automatically...

rtk-query

### Describe the bug When using Expo with `@reduxjs/toolkit/query/react`, I encounter the following warning: warning: The package /node_modules/@reduxjs/toolkit/query/react contains an invalid package.json configuration. Consider raising this issue with the package...

rtk-query

I'm currently in a situation where I'm questioning the best way to handle this situation with RTKQuery: I have a table that displays a set of data. In this table,...

rtk-query

There is cases when abort might be useful to use while using useQuery hook to stop chain of queryFn requests, polling or long running tasks. ## Proposal Expose `abort` method...

rtk-query

Currently the "pattern" value in an openapi property as described [here](https://swagger.io/docs/specification/data-models/data-types/#pattern) is ignored in the codegen output. It would be great if this could be added as a value or...

RTKQ-Codegen

In the docs for endpointOverrides https://redux-toolkit.js.org/rtk-query/usage/code-generation#endpoint-overrides it is mentioned that a parameterFilter exists which would allow filtering out paramters not desired from the openapi specs. But no such field exists....

rtkq-codegen

Adding Tailwind plugin to Prettier breaks codegen ``` { "name": "openapi-test", "dependencies": { "@rtk-query/codegen-openapi": "^1.0.0", "prettier": "^3.0.0", "prettier-plugin-tailwindcss": "^0.4.1" } } ``` ``` // openapi.config.js module.exports = { schemaFile: 'https://raw.githubusercontent.com/reduxjs/redux-toolkit/master/packages/rtk-query-codegen-openapi/test/fixtures/petstore.json',...

rtkq-codegen

**Background** Specifying the same `fixedCacheKey` across mutations leads to overlapping caches between the two mutations. While the fix for this is as simple as properly ensuring cache keys are not...

bug
rtk-query
needs work

I'm working on a listener that handles rejected actions, specifically focusing on conditionally logging 412 errors based on certain conditions. Here's a simplified version of my listener: ```ts // Pseudo...