The hooks provided by
@trpc/reactare a thin wrapper around React Query. For in-depth information about options and usage patterns, refer to their docs on Mutations.
Works like react-query's mutations - see their docs.
If you have an optional input argument you'll have to pass
undefined as the input - see this discussion for more details.