Skip to content
Discussion options

You must be logged in to vote

What are you planning to do in those callbacks? Note that they would run for every instance that uses them, so doing something like logging / displaying error toast will just lead to multiples being displayed ...

I have outlined the problems here: https://tkdodo.eu/blog/breaking-react-querys-api-on-purpose

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cbdeveloper
Comment options

Answer selected by renatoastra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants