frenetic.ts
frenetic.ts
TTCTheo's Typesafe Cult
Created by frenetic.ts on 4/16/2023 in #questions
Webhooks (localhost) in Clerk fails for the most part
I’m not quite sure I understand the subject (Webhooks) in particular. Currently I am running a localTunnel instance and’ve put the URL into clerks Webhook-endpoint. Sometimes when I run the example (Testing), my Webhook code is being executed and does what its supposed to (user.created). But if I like try to run the example again, it always fail. Does anyone know the reason for this? Receiving a Timeout-status code. If I also remove my user from the User-table in Clerk and re-login in to my application. The Webhook is never executed.
14 replies
TTCTheo's Typesafe Cult
Created by frenetic.ts on 4/13/2023 in #questions
T3-Turbos file-structure lacks app-folder in Expo
From the README-file I can see that T3-turbo utilize the Expo Router navigation. However, in the Expo Router-docs, I’m being told that all routing must be defined within the app folder. Looking at the T3-turbo structure. I dont see routes. Instead I see named exported components in a folder called screens. What’s the approach here?
2 replies
TTCTheo's Typesafe Cult
Created by frenetic.ts on 4/11/2023 in #questions
Best practice to re-route user if no session exists with t3
Hi! What’s the best practice to re-route users when they arent signed in? I see a lot of examples where they use like useSession() inside of each component. But I would like the users who doesnt have a session yet to be presented with a landing page about the product.
8 replies