All Questions
3 questions
3
votes
1
answer
2k
views
RTK Query createApi() endpoints not showing up as hooks in Typescript
Trying a simple base query with RTK Query and after defining my api with createApi(), Typescript is giving me error when I try to destructure the api to get my hooks.
I then copied pasted the pokemon ...
1
vote
2
answers
1k
views
Screen not re rendering on fetching rtk query
I am new to RTK query. I was implementing pull to refresh in which I am trying to call the GET API again on pull to refresh.
API result is getting logged successfully but it is not refreshing the ...
0
votes
1
answer
1k
views
How to log and display partial data with RTK query?
I'm creating an mobile App with react native typescript and expo with help of rtk-query. I'm trying to get partial data from API https://pokeapi.co/api/v2/pokemon/snorlax/.
For example from API I'm ...