Refetching When Global State Changes #3561
Unanswered
davidulman
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Found while reading the api the use of the serializeQueryArgs, and its works like I wanted. `
` |
Beta Was this translation helpful? Give feedback.
1 reply
-
You could add a tag and invalidate that from a listenerMiddleware. |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I've seen the releted question but I was wondring if there is easier way to refetch data when the global state changes.
Basicly I want that getNebenkosten will refetch when currentObject state is changing is there a way to achive it without using queryFn in getNebenkosten?
Here is my API slice :
`
`
Thanks In Advance ! 😄 😃
David
Beta Was this translation helpful? Give feedback.
All reactions