useQuery `onSuccess` callback depreciated
Hello. I've just found out that the
onSuccess
callback in useQuery has been depreciated. What should I be using instead?
3 Replies
Read the react query docs about its depreciation
Breaking React Query's API on purpose
Why good API design matters, even if it means breaking existing APIs in the face of resistance.
Thank you will give this a watch