TRPC vanilla queries (T3 stack)

Does anyone know how to access trpc vanilla queries (not hooks)?

async function handler() {
   const response = await api.example.hello.useQuery() // more like a fetch then a react hook.
   console.log(response)
}
Was this page helpful?