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

It is sometimes useful the have the same meta attributes in both the `pending` and `fulfilled` actions when using `createAsyncThunk`. A solution to this could be to add the result...

response in providesTags is not currentCache when use with merge, response in here is the result of each request, not results of all requests I try store.getState(), but it throw...

bug
rtk-query

Given a basic component like the one below, `response.isSuccess` flashes false on subsequent queries. **Basic Example** ```jsx import { useState } from "react"; import api from "./api"; export default function...

bug
rtk-query

I have scheme like this: ``` //...... "parameters": [ { "name": "keys", "in": "query", "description": "test", "required": false, "schema": { "type": "array", "items": { "type": "string" } } } ]...

This PR is a copy of the "Infinite Query API" draft PR in #4393 , but with (currently) one additional commit that tries to modify the infinite query endpoint definitions...

## **This PR**: - [X] Removes `console-testing-library` (part of #4138). - [X] Removes `jest-snapshot` from `resolutions` field of root `package.json`.

## **This PR**: - [X] Switches to using the centralized tooling configs. - [X] Needs #4138. ## **Part 2 of 3** This PR follows #4138 and precedes #4607. This is...

## **This PR**: - [X] Applies changes required by the centralized tooling configs. - [X] Needs #4606. ## **Part 3 of 3** This PR follows #4138 and #4606. This is...

I am having circular dependency problems in my root reducer which TypeScript complains about. It reads like ``` Circular definition of import alias `sliceB` ``` from a very simplified version...

### Description Closes #4644 The following public rtk query APIs now supports `undefined` or `null` tags: - api.util.invalidateTags - api.util.selectInvalidatedBy - mutationDefinition.invalidateTags ### Example nullish invalidate tags in mutation definition...