Lukem121
Lukem121
TTCTheo's Typesafe Cult
Created by Lukem121 on 5/1/2024 in #questions
t3 stack app router examples?
I have been working on a new project and using some basic forms. However, I am having difficulty working with server components, tRPC, and React Hook Form using ShadCN. I am looking for some simple codebases that I can learn from. It would be great if they are not too complex and still up to date.
2 replies
TTCTheo's Typesafe Cult
Created by Lukem121 on 9/11/2023 in #questions
Error: Invariant: headers() expects to have requestAsyncStorage, none available.
Created a fresh create-t3-turbo and added my .env variables but getting the following error.
- error Error: Invariant: headers() expects to have requestAsyncStorage, none available. at Layout (./src/app/layout.tsx:43:79) at stringify (<anonymous>)
5 replies
TTCTheo's Typesafe Cult
Created by Lukem121 on 8/29/2023 in #questions
Optimistic updates not working?
Does anyone have a working code snippet using the latest create t3?
4 replies
TTCTheo's Typesafe Cult
Created by Lukem121 on 3/6/2023 in #questions
Vercel Timeouts 😢🌫 What can I do if I need longer server functions?
I have some tRPC mutations that take over 10 seconds and closer to 1 minute to complete. Currently they are getting timed out by Vercel. I can see that I can buy a Team plan but that isn't favorable. What are your recommendations? How do you deal with this?
24 replies
TTCTheo's Typesafe Cult
Created by Lukem121 on 12/29/2022 in #questions
Is it possible to send a progress status with tRPC?
I have some tRPC mutations that take a while 20s+ and would like to give the user an idea of how far along it is. is there a way I get send back some data to the client to show the progress?
15 replies
TTCTheo's Typesafe Cult
Created by Lukem121 on 11/24/2022 in #questions
Developer recommended payment processor?
I have started a small side project that sells products that are not allowed to be sold by Stripe or Paddle. I am however currently using PayPal but they are very frustrating to use as a dev and as a business. So what payment processor do you recommend?
27 replies