TanStackT
TanStack3y ago
11 replies
wispy-olive

Does `setQueryData` really re-renders component?

Hey, im struggling with very similar issue, and I don't understand why it works with native
useState
but not with setting query data manually as optimistic update" https://github.com/bjornhenriksson/dnd-react-query-problem
GitHub
Showcases issues with mutating cache optimistically with react-query and dnd-kit. - GitHub - bjornhenriksson/dnd-react-query-problem: Showcases issues with mutating cache optimistically with react-...
GitHub - bjornhenriksson/dnd-react-query-problem: Showcases issues ...
Was this page helpful?