Sydney 🔪
TTCTheo's Typesafe Cult
•Created by hopesix on 1/18/2024 in #questions
T3 tRPC tutorials/videos show useQuery / useMutation, but I only see query / mutate?
very simplified explanation but essentially the useQuery and useMutate are for handling things client side and the plain query() & mutate() are what you use when utilising server components / server actions
6 replies
TTCTheo's Typesafe Cult
•Created by Lopen on 1/11/2024 in #questions
what tool do you use for api testing
The cli is available on linux though if you're open to that as well;
https://httpie.io/docs/cli/linux
11 replies
TTCTheo's Typesafe Cult
•Created by Lopen on 1/11/2024 in #questions
what tool do you use for api testing
@Lopen I've switched to HTTPie recently and i've been really enjoying it, it hasn't got a dedicated linux app atm but it does have a web app that might be worth a shot 🙂
https://httpie.io/desktop
11 replies
TTCTheo's Typesafe Cult
•Created by theFern on 1/11/2024 in #questions
What are some T3 community recommendations for a toast library?
oh it's basically just another way to install it the styling was pretty much already the same before it got added to shad ahah
7 replies
TTCTheo's Typesafe Cult
•Created by theFern on 1/11/2024 in #questions
What are some T3 community recommendations for a toast library?
also shadcn link
7 replies
TTCTheo's Typesafe Cult
•Created by theFern on 1/11/2024 in #questions
What are some T3 community recommendations for a toast library?
second @Zion on this one sonner is really nice to use, favourite part of it is probably the promise toast api;
https://sonner.emilkowal.ski/toast#promise
7 replies
TTCTheo's Typesafe Cult
•Created by Circus on 11/27/2023 in #questions
Clerk Webhooks with Prisma (Sync database, user model)
Kinda strange that it’s not working for you as updating it in the user button still updates the user details in clerk… it getting updated there should still trigger the webhook the same as updating the details in any other way would, weird
30 replies
TTCTheo's Typesafe Cult
•Created by Circus on 11/27/2023 in #questions
Clerk Webhooks with Prisma (Sync database, user model)
I’m sorry that was the solution but glad we could help ahahah
30 replies
TTCTheo's Typesafe Cult
•Created by Circus on 11/27/2023 in #questions
Clerk Webhooks with Prisma (Sync database, user model)
Have you had a look at the vercel logs for the api request to see what they’re saying?
Also might be stupid but if you set up a custom domain… is the www. The primary with the base url redirecting to it? In the past I’ve forgotten that the www was the primary when trying to point at the api and it would keep bouncing lmao
30 replies
TTCTheo's Typesafe Cult
•Created by Circus on 11/27/2023 in #questions
Clerk Webhooks with Prisma (Sync database, user model)
was not joking about it being to the letter, still have the comments and all ahahah
30 replies
TTCTheo's Typesafe Cult
•Created by Circus on 11/27/2023 in #questions
Clerk Webhooks with Prisma (Sync database, user model)
30 replies
TTCTheo's Typesafe Cult
•Created by Circus on 11/27/2023 in #questions
Clerk Webhooks with Prisma (Sync database, user model)
I’ll compare what mine looks like when I have a moment and let you know if there’s anything extra i did
30 replies
TTCTheo's Typesafe Cult
•Created by Circus on 11/27/2023 in #questions
Clerk Webhooks with Prisma (Sync database, user model)
Strange, Im basically using that setup to the letter and just passing it on to my drizzle function and it’s working like a charm
30 replies
TTCTheo's Typesafe Cult
•Created by Circus on 11/27/2023 in #questions
Clerk Webhooks with Prisma (Sync database, user model)
@Circus This page of the documentation basically gives you all the snippets you need to set it up
https://clerk.com/docs/users/sync-data
That’ll get the data to your api, then you just have to pass it to the relevant db function ☺️
30 replies