Why data value of queries is not updated on queryClient.setQueryData(['grid'], updatedGrid)
The data variable returned to React component is not updated on
setQueryData causing the isDirty function to pretend data is always dirty even after saving data server side.
Query code :
Component code:
What is the issue there ?
How to implement isDirty so ?
1 Reply
stormy-gold•9mo ago
I don't understand the question. please show a minimal reproduction (stackblitz or codesandbox) instead of some code snippets and screenshots