redux-toolkit
redux-toolkit copied to clipboard
The official, opinionated, batteries-included toolset for efficient Redux development
According to https://swagger.io/docs/specification/describing-responses/#default this is a valid way to describe a possible response. Implemented the support in https://github.com/reduxjs/redux-toolkit/pull/4152 Please take a look.
It'd be nice to have tests that validate and preserve whatever existing "Go to Definition" behavior we have, like going from `import { increment }` to `export const { increment...
I'm attempting to update cache data from an endpoint, but I'm encountering a challenge with dynamic endpoint parameters. These parameters can vary due to pagination, making it difficult to pass...
In this code snippet from the [documentation site](https://redux-toolkit.js.org/rtk-query/usage-with-typescript#inline-error-handling-example), how can I access the request headers? There does not appear to be anything in the `FetchBaseQueryError` type that has headers? ```...
partially fixes #2820 can also just add the behaviour option to this PR if its easier as well, was going to make a new one
Currently, when unwrap any async action, library throws plain objects. This makes such errors hard to debug, especially when using errors collectors like sentry. I think, using `Error` objects everywhere,...
Imagine the following pattern: I have hooks such as `useFetchTrendingPostsQuery`, `useFetchFeaturedPostsQuery`, `useFetchTechnologyPostsQuery`, etc... which all return different entities of the same type. I have a `Post` component, which I want...
When uploading a file is there a way to track the progress using rtk query??
I've recently upgraded my OpenAPI schema to 3.1, and while in most places the ``` type: - "object" - "null" ``` style seems to generate the correct code, in other...