Tulip Logo IconTulip
Router

Client

Use ORPC client calls with TanStack Query helpers and Tulip query client conventions.

Client code usually consumes ORPC through generated or app-local client helpers.

Feature screens can call query options and mutation options from the app router client, then pass those options into TanStack Query, Commands, Inline, or Data Tables.

Common usage

const response = useSuspenseQuery(orpc.projects.list.queryOptions({ input }));

For mutations:

mutation={orpc.projects.archive.mutationOptions()}

Continue reading

On this page