Timing delay in react query loading and redux dispatch #3413
Unanswered
naveen1337
asked this question in
Q&A
Replies: 1 comment 7 replies
-
Why would you need to dispatch data from react-query into redux? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
React query is amazing to maintain a loading and fetching state, but when I want to do dispatch a data to redux, I am having some loading state and redux selector timing issue,
the loading state gets false, but it takes some slight delay timing, to select data from redux, I know why is this happening, I can fix this by maintaining a loading and isFetching state inside a redux. but is there any good ways other than that ?
Beta Was this translation helpful? Give feedback.
All reactions