Make onsuccess in queryClient specific to some queries only
Help
I want this
onSuccess
to only run for queries with id userData
, how do I ensure that? I read the entire blog, it doesn't address this
My goal is simply to sync with my zustand store when the first "userData" query finishes.Breaking React Query's API on purpose
Why good API design matters, even if it means breaking existing APIs in the face of resistance.
0 Replies