How to add getLayout property to Component, nextJS 12.3

tRPC app with SSR true, getStaticProps or getServerSideProps
/projects and I'm trying to fetch all the projects on the server, so all the projects can be available when the users arrives on the page.
I've been reading a lot of stuff lately about SSR and which methods to use to fetch data, either getServerSideProps or getStaticProps. On top of this, I know that tRPC configuration accepts a ssr: true | false property....What was the reason for removing req, res from context?
Running a cron job alongside T3 stack locally
why re-mcompile JS each time?
can i remove a background from an image using Js

Documentation past comments, is it needed?
Quick question about TRPC query with date
Internationalization with T3?
I need ideas for Data viz & Metrics framework in t3 stack ?
Project time Estimate
File storage in T3
Are tRPC endpoints awaited internally? Endpoint being called again before it finishes
supabase auth with trpc?
create-t3-app.
I am specifically having issues creating a protected trpc route with supabase auth
They have the withApiAuth for protected routes, but I want something similar to getServerSession that just returns a null value that I can write code to handle....What's the best way to bulk insert with a many-to-many relationship (posts & categories) in prisma?
routes
Prisma nexth-auth role based access control model
Account model is required for next-auth.
Also, I'm not sure how to add a role that would give me type definitions when using the session.
Yes, I did looked it up and I followed the tutorial from next-auth, but that doesn't give me the type definitions on the user when setting up the session. https://next-auth.js.org/tutorials/role-based-login-strategy...tRPC, ssr specific route
getServerSideProps and then pass them to initialData inside useQuery. I use it for SEO purposes.
What can I do when I'm using tRPC, I'm unable to do the fetch on server using useQuery. I know there's option ssr: true, but I don't want to all routes to run on SSR just because of this one specific case....How do you guys handle server errors on tRPC
if (error) ... lines on every fileT3Stack 'react-query' not found