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

# **Overview** The type portability issues in this repository are primarily caused by three specific TypeScript errors: 1. [**`TS4023`**](https://github.com/microsoft/TypeScript/issues/37888): `Exported variable 'useAppDispatch' has or is using name 'TimeResponse' from external...

## Overview Previously the codegen tests would create side effects which made them unpredictable and caused them to produce inconsistent results. This PR mainly focuses on making the unit tests...

## **This PR:** - [X] Updates `react` and `react-dom` to v19 beta. - [X] Sets the `@types/react` and `@types/react-dom` package resolutions to `npm:types-react` and `npm:types-react-dom` according to the [React 19...

## **This PR:** - [X] Fixes `size-limit` config to monitor bundle size changes in preparation for any potential changes we'll have to make to migrate to React 19.

## **This PR**: - [X] Adds `@__PURE__` annotation to some of the function call sites to improve treeshakeability.

Hello I have the below mutation and am trying to do an optimistic update. (i am using the latest version of RTK) When i remove the onQueryStarted code then isSuccess...

rtk-query

# Context This is a follow-up of this PR: https://github.com/reduxjs/redux-toolkit/pull/4198 I've found some issues on the `@rtk-query/codegen-openapi` that point to dependency issues. Here are some of them: - https://github.com/reduxjs/redux-toolkit/issues/3918 -...

When I make a request in Lazy Query, I cache the returned result and try to use the data in the cache even if the page changes. I make a...

Calling `initiate` with `{subscribe: false}` seems to be resetting `keepUnusedDataFor` and cached data never expires ```javascript // default keepUnusedDataFor is 60s // Does the request and caches the data as...

rtk-query

Hi, I'm getting a TS error when I try to use optimistic updates on a code-split API instance. The thunk works correctly and updates the data correctly, but TypeScript isn't...