How to create mutation key based on mutation params #7160
Unanswered
ForeshadowRU
asked this question in
Q&A
Replies: 3 comments 6 replies
|
a mutations doesn't really need a key. what are you using the key for ? |
4 replies
|
I second this. Frankly, I don't understand @TkDodo comment:
If a mutation doesn't need a key, why does In practice, the mutation key is critical for the I would suggest changing |
2 replies
This comment was marked as spam.
This comment was marked as spam.
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.
I have a list of files that will be downloaded on click
In order to download it a mutation is triggered
If I use isLoading param of that mutation is spins on all files of the list.
I want to add
params.idas query key, but I am outside of scope for that.Is there any workaround?
All reactions