-
Is it possible to avoid from multiple renders? Using version 3.39.3. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
no. your component re-renders because |
Beta Was this translation helpful? Give feedback.
no. your component re-renders because
useMutation
gives you meta information about the mutation, likeloading
state.useMutation
doesn't have the optimizations thatuseQuery
has where it can detect and track what you are actually using and what not ...