You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to reset the cache for some query after mutationFn finishes so that the query is re-requested.
I'm using bunshi for wrapping and I've found that I can't fulfill this requirement, I can't directly dispatch any hooks like useSetAtom in bunshi's molecule.
In my code _resetIndex and _reset appear several times, in my conception I should have called resetDetailFolderPageAtom at mutationFn.
I'm not quite sure if this issuse belongs to bunshi or jotai or jotai-tanstack-query, if it doesn't belong to jotai-tanstack-query I can move it to another repository.
I need to reset the cache for some query after
mutationFn
finishes so that the query is re-requested.I'm using bunshi for wrapping and I've found that I can't fulfill this requirement, I can't directly dispatch any hooks like
useSetAtom
in bunshi's molecule.In my code
_resetIndex
and_reset
appear several times, in my conception I should have calledresetDetailFolderPageAtom
atmutationFn
.I'm not quite sure if this issuse belongs to bunshi or jotai or jotai-tanstack-query, if it doesn't belong to jotai-tanstack-query I can move it to another repository.
The text was updated successfully, but these errors were encountered: