redux-toolkit
redux-toolkit copied to clipboard
The official, opinionated, batteries-included toolset for efficient Redux development
I'm attempting to describe query parameters such as `/tasks?page[size]=1&page[number]=1`, which is done according to the OpenAPI spec using `style: deepObject` and `explode: true`. See: https://swagger.io/docs/specification/serialization/ The codegen 'works' in that...
fixes #2543
[In the docs](https://redux-toolkit.js.org/rtk-query/usage-with-typescript#typing-query-and-mutation-endpoints), the example says: ``` // An explicit type must be provided to the raw result that the query returns // when using `transformResponse` // v transformResponse: (rawResult:...
## UPDATE 2022-1015: THIS IS NOW MUCH LESS HYPOTHETICAL AND HOPEFULLY HAPPENING SOON-ER THAN LATER! ~~## THIS IS HYPOTHETICAL AND WE ARE NOT GOING TO BE RELEASING RTK 2.0 ANY...
I'm trying to test my react-native app, but the test always fails. The error is `{status: 'FETCH_ERROR', error: 'typecannot read properties of null (reading 'url')'}` (see in the code below)....
I am using the `graphql-codegen` yarn package to generate React hooks `graphql-codegen --config codegen.yml` I want to decorate every GraphQL endpoint call with an operation name, so I can see...
Currently if you try to run RTKQuery code-gen against a 3.1.0 api, you'll get an error saying swagger-parser package doesn't support that version. The latest version swagger parser (`10.1`) does...
RTK Query uses [URLSearchParams](https://udn.realityripple.com/docs/Web/API/URLSearchParams) to serialise the query parameters. [URLSearchParams](https://udn.realityripple.com/docs/Web/API/URLSearchParams) does not serialise these parameters in any specific order. This makes it difficult to sign the request using [sigV4](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) as...
Hello, I have a paginated table in my application that is controlled on the backend. The table can be downloaded in xlsx format. Before downloading, I want to do a...
Hello there. I have recently started using RTK query to fetch and cache my data in my frontend and I have some questions. My use case is the following: -...