Static Site Generation
tip
Reference project: https://github.com/trpc/examples-next-prisma-todomvc
Static site generation requires executing tRPC queries inside getStaticProps on each page.
Fetch data in getStaticProps
pages/posts/[id].tsxtsx
pages/posts/[id].tsxtsx
Check this out to learn more about createProxySSGHelpers.