API Client

Type-safe API client with tanstack query.

import { tracksRoute } from "server/api/routes/tracks"

const track = useApiQuery(tracksRoute, {
	Querystring: { id: "42" },
})

See also

On this page