Create T3 App
This stack uses:
{hello.data ?
{hello.data.greeting}
:Loading..
}import { type NextPage } from "next"; import Head from "next/head"; import Link from "next/link"; import { trpc } from "../utils/trpc"; const Home: NextPage = () => { const hello = trpc.example.hello.useQuery({ text: "from tRPC" }); return ( <>
This stack uses:
{hello.data.greeting}
:Loading..
}{description}
Documentation