python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
RTK query interceptor multiple requests
I am having a problem with the RTK query interceptor, I implemented Automatic re-authorization by extending fetchBaseQuery per RTK query documentation and now I have a problem that if multiple reques...
Brixi
Votes: 0
Answers: 1
Handling a controlled input when using RTK Query in React
When using RTK Query, you abstract away all the state management that comes with data fetching -- you call an endpoint and the documents are loaded into a variable, ready for use. Like so:
const {dat...
Erik Germani
Votes: 0
Answers: 1
how can I define a type for error data return in rtk query?
I use rtk query and I have type error with this content :
Property 'data' does not exist on type 'FetchBaseQueryError | SerializedError'.
Property 'data' does not exist on type 'SerializedError'
an...
Mahdi Zeynali
Votes: 0
Answers: 1
What header should I use to send a video to the backend with the rtk query?
Is it necessary to set the header manually to send the video / file to the backend in the rtk query mutation?
One day I set it manually, I got the answer, but one day I did not set it. What is the bes...
Mahdi Zeynali
Votes: 0
Answers: 0