redux-toolkit
redux-toolkit copied to clipboard
The official, opinionated, batteries-included toolset for efficient Redux development
# Motivation As reported in #2477, currently doing `await api.util.getRunningOperationsPromise()` in a SSR environment will not only await for queries and mutations of the page currently being rendered, but of...
Inspired by [this StackOverflow question](https://stackoverflow.com/questions/66799358/cannot-infer-correct-types-in-selectids-from-getselectors/66826092#66826092), I think it would be a good feature if it was possible for an `EntityAdapter` to have a generic id type which `extends EntityId` but...
Ref: - #2301 - #2591 - #2592
I implemented optimistic updates successfully, but couldn't figure out how to use debounce in the process. Take for example just a text input: I want the UI to change immediately,...
Hey folks! Our app is heavily code-split, and leans on pre-hydrated server data to get the first render as fast as possible. A lot of the architecture is set up...
I have a bit of an unusual setup where I use redux-toolkit also in the backend of a Node.js application. I am currently in the process of migrating my backend...
Fixes reduxjs/redux-toolkit#2379
Fixes issue #2098 Let me know if this change also needs any docs/ I've messed up the system for creating a PR
Listeners always run in response to a dispatched action, but this means there's no way to trigger one immediately. (Imagine a longer-running workflow, where we don't even care about what...
Hello, I was playing with TypeScript 4.8, and after hitting https://github.com/reduxjs/redux-toolkit/pull/2547 and [working around it](https://github.com/reduxjs/redux-toolkit/pull/2547#issuecomment-1203627043), it seemed that code generation also failed. I found that I was still using `@rtk-incubator/rtk-query-codegen-openapi`,...