Live Demo
tRPC Test
This page wires up a real createTRPCClient<AppRouter>() against the
/api/trpc endpoint served by @silkweave/trpc's trpcFetch() handler
running on Vercel Functions. Click a button to dispatch the action; the raw JSON response
from the server is shown below.
greet
mutationResponse
Click the button to dispatch the mutation.
calculate
mutationResponse
Click the button to dispatch the mutation.