rembrembdocs

unstable_localLink<TRouter>(opts): TRPCLink<TRouter>

Defined in: packages/client/src/links/localLink.ts:40

localLink is a terminating link that allows you to make tRPC procedure calls directly in your application without going through HTTP.

Type Parameters

Type Parameter

TRouter extends AnyRouter

Parameters

Parameter

Type

opts

LocalLinkOptions<TRouter>

Returns

TRPCLink<TRouter>

See

https://trpc.io/docs/links/localLink