exhaustive-deps with a ref
I've read a couple threads here and on GitHub but couldn't find a clear answer.
Is the lint rule correct and should I add
articleUuid?.value to the queryKey array, or is the lint rule wrong?
2 Replies
fascinating-indigo•3y ago
Hi,
Lint rule is wrong as it was created and tested for React.
Vue version would need modification as we want to pass whole ref proxy instead of a value.
initial-roseOP•3y ago
Thanks!