Non-hook useServerFn alternative
Is there an alternative (non-hook) utility that is functionally equivalent to what
I want to define my TanStack Query query and mutation options as self-contained options that I just import and use where needed. These queries and mutations all use server functions.
useServerFn gives you?I want to define my TanStack Query query and mutation options as self-contained options that I just import and use where needed. These queries and mutations all use server functions.