t3 chirp project - cant resolve trpc ssgHelpers
when following video ssg had error on import so changed code to the different code on the repo of the project. Then the new code said depreciated on the ssg import, so uninstalled and installed with the repos versions of TRPC and now getting-
module not found for @trpc/react-query/ssg
just wondering if anybody else doing the projects encounter this problem and found a good solution for it. New to the stack and first time using ssgHelper
3 Replies
it got renamed https://trpc.io/docs/nextjs/server-side-helpers
Server-Side Helpers | tRPC
createServerSideHelpers provides you with a set of helper functions that you can use to prefetch queries on the server. This is useful for SSG, but also for SSR if you opt not to use ssr: true.
that worked awesome thanks a ton!
Could you please mark as answered so other people can know as well