devagr
devagr
TTCTheo's Typesafe Cult
Created by devagr on 2/27/2023 in #questions
Nextjs with CSS in JS
I am using ant design (https://ant.design) on a Nextjs project (pages folder). The component styles don't seem to be SSRd, there is a flash of unstyled content when the page is first loaded. Ant design docs have some instructions on how to do SSR - https://ant.design/docs/react/customize-theme#server-side-render-ssr But I can't figure out how these apply to Nextjs.
7 replies
TTCTheo's Typesafe Cult
Created by devagr on 2/11/2023 in #questions
middleware does not run on index page
3 replies
TTCTheo's Typesafe Cult
Created by devagr on 11/11/2022 in #questions
wtf prisma errors
12 replies
TTCTheo's Typesafe Cult
Created by devagr on 11/4/2022 in #questions
environment variables in middleware??
12 replies
TTCTheo's Typesafe Cult
Created by devagr on 9/26/2022 in #questions
supabase auth with trpc?
I can't seem to figure out a good way to add supabase auth to trpc similar to how nextauth is integrated in 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.
12 replies