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

I have a project which uses Vite and thus also uses `type:"module"` in its package.json. ### Error description When running `npx @rtk-query/codegen-openapi` I get the following error: ``` const err...

Currently, I can prevent an individual network request (query) with "skip" option provided by RTK Query. I want to skip all the queries from happening if the user is offline....

Hi All! I was wondering if there was a good way to handle an array of queries that change from one render to the next? This issue on `react-query` describes...

enhancement
rtk-query

I'm using [rtk-query-codegen-api](https://github.com/reduxjs/redux-toolkit/tree/master/packages/rtk-query-codegen-openapi) to generate from an OpenAPI spec. The endpoints have multiple responses (200, 404, etc.) with different values. Here's a simplified example: ```yaml /user/city: post: operationId: setCity responses:...

RTKQ-Codegen

I'm having a little trouble understanding the typescript payload types from an async thunk. Given the following code: ``` export interface UserCompaniesState { areUserCompaniesLoaded: boolean; companies?: Array; } export const...

Running into an issue when I have an enum in my openapi schema. ```json "SpecialTypes": { "enum": [ 0, 1, 2 ], "type": "integer", "format": "int32" }, ``` Here is...

### Description examples that use `msw` do not work, e.g.: https://redux-toolkit.js.org/rtk-query/usage/examples#kitchen-sink It seems that it can be fixed If you downgrade `msw` from `^0.41.1",` to `0.40.0`. ### Pic ### Futher...

Hi, On multiple places, since I've updated our package the mutation is stuck on 'Pending' even when an error is thrown. See screenshot and code below. The server returns 422,...

rtk-query

Hey, I'm aware of the position of the maintainers regarding disabling immer, as stated in #242 and #183. However, both of those discussions are the top google results when searching...

Hi, I noticed that the abort reason of a thunk action is not getting passed down to the `AbortController` in line 578: https://github.com/reduxjs/redux-toolkit/blob/64a30d83384d77bcbc59231fa32aa2f1acd67020/packages/toolkit/src/createAsyncThunk.ts#L575-L580 It would be useful to get the...