K1|ller
K1|ller
Explore posts from servers
TTCTheo's Typesafe Cult
Created by K1|ller on 11/7/2024 in #questions
What's the folder structure of the zillow's "product page"??
if I don't use a portal it will always scroll up or down where the props.modal is altought it has a fixed css class
8 replies
TTCTheo's Typesafe Cult
Created by K1|ller on 11/7/2024 in #questions
What's the folder structure of the zillow's "product page"??
i'm using a react portal
8 replies
TTCTheo's Typesafe Cult
Created by K1|ller on 11/7/2024 in #questions
What's the folder structure of the zillow's "product page"??
No description
8 replies
TTCTheo's Typesafe Cult
Created by K1|ller on 11/7/2024 in #questions
What's the folder structure of the zillow's "product page"??
thank you man i made it work with parallel routes
8 replies
TTCTheo's Typesafe Cult
Created by Jotas on 11/2/2024 in #questions
Is tRPC in create-t3-app unsafe/public?
yeah if I pass an user ID I can delete stuff but you need to protect the endpoints
5 replies
TtRPC
Created by K1|ller on 7/31/2024 in #❓-help
how to import superjson in express?
guys i've been trying to fix this for an entire year 😂 at this point is it a bug?
4 replies
TTCTheo's Typesafe Cult
Created by K1|ller on 7/10/2024 in #questions
Generating pdfs - what are you using?
the screenshot approach worked fine :deranged:
6 replies
TTCTheo's Typesafe Cult
Created by K1|ller on 7/10/2024 in #questions
Generating pdfs - what are you using?
I'll try that for the non mvp
6 replies
PPrisma
Created by Abhinav on 6/7/2024 in #help-and-questions
Can't reach database server at `aws-0-ap-south-1.pooler.supabase.com:5432`
but what it won't work is realtime, a week of emails already, I'm 99% sure they have problems with it
56 replies
PPrisma
Created by Abhinav on 6/7/2024 in #help-and-questions
Can't reach database server at `aws-0-ap-south-1.pooler.supabase.com:5432`
I'm using supabase too and it works
56 replies
TTCTheo's Typesafe Cult
Created by miikee on 6/4/2024 in #questions
If you are using NextAuth, how are you accessing Auth data in Client Components?
btw i'm using v4
14 replies
TTCTheo's Typesafe Cult
Created by miikee on 6/4/2024 in #questions
If you are using NextAuth, how are you accessing Auth data in Client Components?
You can create other properties and pass them to the session but I have had typesafe issue with that so I have a context with the user. To be honest I haven't gone deeper with it, there must be a smarter way, I use the session to get the email, the email is my weapon for verifying who's logged in
14 replies
TTCTheo's Typesafe Cult
Created by miikee on 6/4/2024 in #questions
If you are using NextAuth, how are you accessing Auth data in Client Components?
that's: name, email, imageUrl
14 replies
TTCTheo's Typesafe Cult
Created by miikee on 6/4/2024 in #questions
If you are using NextAuth, how are you accessing Auth data in Client Components?
next auth in server or client side will only return what's in the cookie
14 replies
PPrisma
Created by Xavier on 6/5/2024 in #help-and-questions
Supabase with prisma
let me know if you solved the problem
7 replies
PPrisma
Created by Xavier on 6/5/2024 in #help-and-questions
Supabase with prisma
they updated it not long ago
7 replies
PPrisma
Created by Xavier on 6/5/2024 in #help-and-questions
Supabase with prisma
yeah there are 2 different connections it needs
7 replies
PPrisma
Created by charley on 6/2/2024 in #help-and-questions
Is it bad practice to depend on the unique constraint while creating a new object?
nope, just translate it into something different
17 replies
TTCTheo's Typesafe Cult
Created by miikee on 6/4/2024 in #questions
If you are using NextAuth, how are you accessing Auth data in Client Components?
yeah you can get the session with that hook but personally I keep in sync the user that was created in the DB, I don't care much about the session
14 replies
PPrisma
Created by charley on 6/2/2024 in #help-and-questions
Is it bad practice to depend on the unique constraint while creating a new object?
a reusable banner let's say
17 replies