Is there a way to have a isMutated
like prop on useSWRMutation?
#2796
Unanswered
marcio-alves-deel
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The idea here is to understand in some cases if that request already executed at least once.
On some use cases we have requests based on some precious calls (independent of the result), and currently we have no way to identify if those calls have been done or not.
It's not the case only for useSWRMutation but to useSWR as well, we should have a
isFetched
indicating if it already executed and arefresh
there to clear those values.Beta Was this translation helpful? Give feedback.
All reactions