Zan
Zan
TTCTheo's Typesafe Cult
Created by Gold240sx on 12/19/2023 in #questions
Discord multi-role authentication system
Can also get discord role info (within the context of a server) pretty easy with discordjs https://github.com/AnIdiotsGuide/discordjs-bot-guide/blob/master/understanding/roles.md I had a project where I wanted the web app to show particular options if the user was an mod/admin of the discord server that was associated
13 replies
TTCTheo's Typesafe Cult
Created by lecookie on 8/2/2023 in #questions
Events using prisma
e.g. if you just need the client to know when stuff updates, use query keys
7 replies
TTCTheo's Typesafe Cult
Created by lecookie on 8/2/2023 in #questions
Events using prisma
I generally find DB hooks to be too much of an abstracted side effect to shoot yourself in the foot with later - I recommend trying to find a solution that doesn't involve it
7 replies
TTCTheo's Typesafe Cult
Created by lecookie on 8/2/2023 in #questions
Events using prisma
https://www.prisma.io/docs/concepts/components/prisma-client/client-extensions/query this seems like the modern recommended solution but I haven't used it personally
7 replies
TTCTheo's Typesafe Cult
Created by lecookie on 8/2/2023 in #questions
Events using prisma
7 replies
TTCTheo's Typesafe Cult
Created by thevalorised on 8/2/2023 in #questions
Host T3 app on a VPS
yeah follow the t3 website instructions to docker deployment and do that, makes it harder for them to interfere with the rest of their infra
6 replies
TTCTheo's Typesafe Cult
Created by mathels on 7/1/2023 in #questions
should i buy a mac ?
Imo if you're solo, Linux is fine, if you're working on a team and want to share tools and local build instructions easily, Mac is pretty necessary. Also if you need portability the m chip MacBooks are the only thing I can stand to use away from a desk
20 replies
TTCTheo's Typesafe Cult
Created by darrellf on 6/26/2023 in #questions
CRUD on Table Server Components
So modal is client table is server
4 replies
TTCTheo's Typesafe Cult
Created by darrellf on 6/26/2023 in #questions
CRUD on Table Server Components
Better ux and fits the rsc model better to just have an edit modal or drop-down imo that batches changes and validates
4 replies
TTCTheo's Typesafe Cult
Created by Pranoy on 6/17/2023 in #questions
Mern stack Or Nextjs ?
I would argue most people using React do not use a metaframework, the mature ones are still very new and most React projects >2yo are using SPA with webpack/vite
28 replies
TTCTheo's Typesafe Cult
Created by Lopen on 6/5/2023 in #questions
drizzle orm is overhyped
not having to run codegen in my build is a big +
68 replies
TTCTheo's Typesafe Cult
Created by 8v. on 6/2/2023 in #questions
The Edge - what's the point
Cold starts bad
14 replies
TTCTheo's Typesafe Cult
Created by 8v. on 6/2/2023 in #questions
The Edge - what's the point
14 replies
TTCTheo's Typesafe Cult
Created by WN210 on 5/20/2023 in #questions
background tasks in t3 stack?
I use a custom nextjs server and forego serverless personally, then integrate any message queue
4 replies
TTCTheo's Typesafe Cult
Created by Damsbot64 on 5/16/2023 in #questions
T3-APP + NextJS app/directory
can you link that plz
12 replies
TTCTheo's Typesafe Cult
Created by Becelli on 5/1/2023 in #questions
How to call a server function without tRPC?
You can write a function and import it to both the client and server but then it has to not use anything client or server specific (no dom stuff, no node apis)
5 replies
TTCTheo's Typesafe Cult
Created by Becelli on 5/1/2023 in #questions
How to call a server function without tRPC?
You don't call a server function from the client without an API call
5 replies
TTCTheo's Typesafe Cult
Created by Becelli on 5/1/2023 in #questions
How to call a server function without tRPC?
I think you need to dive into next js docs and understand where the client and server live in code
5 replies