Replies: 1 comment
-
you need to add everything that is used in the |
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.
-
I have a component which performs a mutation. This mutation kicks off a long running process in my API so the response from the mutation is simply an
id
.Next I have a polling query which needs to poll based on that returned
id
from the mutation:I am finding that the polling query never enables, most likely due to either a re-render or perhaps the logic above. I am wondering if there is perhaps best practice for approaching this type of scenario. I have tried setting external state for the
id
field but that doesnt seem to help.Beta Was this translation helpful? Give feedback.
All reactions