vitor markis 🎈
TTCTheo's Typesafe Cult
•Created by vitor markis 🎈 on 9/8/2023 in #questions
How to create custom upload component to use with UploadThing?
Such a shame they don't have a composition pattern component like radix/shadcn, bad DX
I gonna try to customize their component as close as my UI possible, thx
5 replies
TTCTheo's Typesafe Cult
•Created by vitor markis 🎈 on 6/7/2023 in #questions
How to type return of hook based on string passed as argument?
It worked man, thx, did you use Chat GPT 4?
5 replies
TTCTheo's Typesafe Cult
•Created by vitor markis 🎈 on 5/17/2023 in #questions
persist user vertical scroll during navigation between pages NEXT 13 App Dir
javascript moving the user viewheight is a poor ux because it runs afterwards, the behavior i'm aiming is something like stack navigation, the post is open in front, but the feed page still there, when user goes back, he just closes the post layer and feed still there, untouched
5 replies
TTCTheo's Typesafe Cult
•Created by vitor markis 🎈 on 4/8/2023 in #questions
await Prisma create never resolves using PlanetScale
was a silly mistake, i needed to end the response method, using .end() or .json()
4 replies
TTCTheo's Typesafe Cult
•Created by vitor markis 🎈 on 4/1/2023 in #questions
Next 13 API responses just froze after build
7 replies
TTCTheo's Typesafe Cult
•Created by aditya on 3/31/2023 in #questions
Role bases authentication with Github Provider using next auth
the user that comes from the callback methods, they comes directely from the database?
20 replies
TTCTheo's Typesafe Cult
•Created by vitor markis 🎈 on 4/1/2023 in #questions
Next 13 API responses just froze after build
7 replies