import Link from "next/link"; import { LatestPost } from "@/app/_components/post"; import { api, HydrateClient } from "@/trpc/server"; export default async function Home() { const hello = await api.post.hello({ text: "from tRPC" }); // void api.post.getLatest.prefetch(); return (

Create T3 App

First Steps →

Just the basics - Everything you need to know to set up your database and authentication.

Documentation →

Learn more about Create T3 App, the libraries it uses, and how to deploy it.

{hello ? hello.greeting : "Loading tRPC query..."}

); }