Add Mechanism to Refetch in createMutatorStore
Without a Loading State
#25
Labels
documentation
Improvements or additions to documentation
Hi I have a use case like this:
I would really like a way for
createMutatorStore
to be able to callinvalidate
to trigger a refetch but without setting$things.loading
back totrue
. I want it to replace the old data with the new data but do it without clearing everything out before because it's fine to show stale data until the new stuff comes backEither that, or expose a
refetch
callback on thecreateFetcherStore
return value, so that we can call it from the react componentThis seems pretty standard in libraries like react query
The text was updated successfully, but these errors were encountered: