TanStackT
TanStack4y ago
8 replies
clean-aquamarine

Refetch is not happening (dependent query)

Hello !

I setup a dependent query in way to refetch as my value change.

I would like to update my "applications" when my "environnementId" change, not only on the first render.

The code on the screenshot doesn't work because my "environnementId" is never false again after picking a value.

Do you have some clues ?
image.png
Was this page helpful?