Lgy
TTCTheo's Typesafe Cult
•Created by Lgy on 4/16/2023 in #questions
clerk how to implement user roles
And i use getauth() to access it?
7 replies
TTCTheo's Typesafe Cult
•Created by Lgy on 1/17/2023 in #questions
is refetching every second a bad idea?
Is there a way to persist data using web sockets?
Let’s say I use usestate to set all clients data that one of them sends,for simplicity let’s say I have a button that simply adds 1 to the displayed number ,when someone refreshes they get the value use state initially set for them and if they press the button it goes to initial state +1
12 replies
TTCTheo's Typesafe Cult
•Created by Lgy on 1/17/2023 in #questions
is refetching every second a bad idea?
can you do that with trpc and deploy on vercel?
12 replies
TTCTheo's Typesafe Cult
•Created by Lgy on 12/9/2022 in #questions
trpc with third party api
I meant can I fetch data from something like jsonplaceholder inside my trpc instead of getting data from db like prisma and then call the function to get safely typed response from jsonplaceholder
5 replies