react-query-autosync icon indicating copy to clipboard operation
react-query-autosync copied to clipboard

make sure the library can handle modifying the parameters of the draft

Open lukesmurray opened this issue 3 years ago • 0 comments
trafficstars

We probably want to intelligently use queryKey to determine if the user has changed the parameters of the draft.

In react query the result would change.

useQuery(['todo', 5], ...)

In this library we want the result to change but we also need to determine what to do with any pending unsaved values. Actually unsure of what the current behavior is, but this feels like a common case so I'll try to test it and document it.

lukesmurray avatar Dec 22 '21 14:12 lukesmurray