Replies: 1 comment
-
|
can you show this in a sandbox (preferably react)? |
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.
-
Is there a way to make the
initialPageParamattribute reactive to change the initial parameters if one of the parameters changes?I'm trying to do something like this:
Where
filtersis a reactive property, so every time it changes, TanStack Query picks it up and re-fetches the query. The problem is that initialPageParams remain the same, even iffilterschange, thus always passing the same value forfiltersand doing the same API call.Beta Was this translation helpful? Give feedback.
All reactions