redux-toolkit
redux-toolkit copied to clipboard
The official, opinionated, batteries-included toolset for efficient Redux development
Description: After upgrading to graphql-request@^7.1.2, our project is encountering issues when using graphqlRequestBaseQuery from @rtk-query/graphql-request-base-query. 
Happens when using node v24.0.0, with vitest, msw and jsdom. Full error ``` An unhandled error occurred processing a request for the endpoint "ping". In the case of an unhandled...
We are using the open-api codegen to create the api code for our app and we have an endpoint that takes in a file upload using mulitpart/form-data when we generate...
> @markerikson we are calling the cli programmatically like this > > ```ts > const cliPath = require.resolve('@rtk-query/codegen-openapi/lib/bin/cli'); > > const runReduxCodegen = async (specUrl: string | undefined, configPath: string,...
## Current Behavior '2XX' status is always ignored ## Expected Behavior in absence of a more specific 200 range status code, the 2XX code should be used to type the...
closes https://github.com/reduxjs/redux-toolkit/issues/4976 exposes the cli in exports to be able to programmatically resolve the path at runtime and updates docs. ie. *bin/openapi-codegen.ts* ```typescript import { exec } from 'node:child_process' const...
Hey! After the PR #4919 has been closed. We are looking forward to have a new release that contains that update. We are generating OpenAPI Spec with the 3.0.4 version...
Adds a skip condition function to the endpoint definition to "skip" making the network request when returned `true`. Instead of needing to set the skip on every query hook it...
Hey. We encountered a memory leak problem on server (nextjs page router) after update `redux-toolkit` from 1.9.5 to 2.4.0. After investigating the heap snapshot, we found that the problem was...
Is there a way to set a condition or even a callback on a endpoint to conditionally skip it, instead of at the hook using skip or skipToken? I have...