using `select` as an `onSuccess` replacement
in reference to this article
https://tkdodo.eu/blog/breaking-react-querys-api-on-purpose#react-query-v5 (great article btw)
the recommend way to sync state is to use useEffect in use land
now according the docs, select reruns when the
is there any drawbacks to this approach?
https://tkdodo.eu/blog/breaking-react-querys-api-on-purpose#react-query-v5 (great article btw)
the recommend way to sync state is to use useEffect in use land
now according the docs, select reruns when the
data changes assuming data means cached data this means, I ca write something like thisis there any drawbacks to this approach?