DEV Community

Discussion on: Abstracting with react hooks on LSD

Collapse
 
patheticgeek profile image
Pathetic Geek

Hmm i used the refrence for useMutation from a jsconf video i saw a few weeks ago, myabe you can use the refetchQueries in QueryClient in the onSuccess method passed in useMutation options.
Check this link