Skip to content

Why when RTK is mid query, on refresh, isFetching stays true and will not update, despite doing refetch or already having data? #3513

Closed Answered by drewgallagher
drewgallagher asked this question in Q&A
Discussion options

You must be logged in to vote

Turned out that redux-persistance was caching the queries for rtk, causing the isFetching state to get stuck.

By removing the rtk redux-persistance in the store.ts it fixed the issue

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@markerikson
Comment options

@phryneas
Comment options

Answer selected by drewgallagher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants