hey! @tkdodo.eu hope you're doing well 😄
I've a use case that I'd like your help to understand how to approach it properly, since in tanstack/query v5 we don't have onSuccess callbacks anymore, what would be the best approach to render a snackbar if an endpoint returned success with an emptry array?
I've a use case that I'd like your help to understand how to approach it properly, since in tanstack/query v5 we don't have onSuccess callbacks anymore, what would be the best approach to render a snackbar if an endpoint returned success with an emptry array?
Comments