How to call onSettled function in new Tankstack query version 5
I have this function i want to run a function regardless query success or not. but i don't find anything about it in new version
4 Replies
conscious-sapphire•3y ago
it doesn't exist in v5
optimistic-goldOP•3y ago
then what should i do in order to run the function ??
i didn't find anything on migrating documentation
conscious-sapphire•3y ago
did you read the linked RFC and blogpost? It depends on what you are doing in onSettled
optimistic-goldOP•3y ago
oh i haven't read that thank you