I like the reactivity pattern, but can I run a mutation that may return the same shape as some query and just bypass the query fetching call?
Basically:
getUser RPC returns User
updateUser RPC returns User
I want to just update instead of invalidate and refetch without having to sync another atom.
I'm used to TanStack query and want to try this but want Stale Queries and Optimistic Updates
I like the reactivity pattern, but can I run a mutation that may return the same shape as some query and just bypass the query fetching call?
Basically:
getUser RPC returns User
updateUser RPC returns User
I want to just update instead of invalidate and refetch without having to sync another atom.
I'm used to TanStack query and want to try this but want Stale Queries and Optimistic Updates