Lukem121
TTCTheo's Typesafe Cult
•Created by Ben on 10/15/2024 in #questions
tRPC query eating all DB connections upon window refresh
const { data: keys } = api.key.getAll.useQuery(undefined, {
refetchOnMount: false,
refetchOnWindowFocus: false,
});
2 replies
TTCTheo's Typesafe Cult
•Created by Neffrey on 4/30/2024 in #questions
Error with tRPC & Drizzle with numeric data type
I have a feeling that a numeric data type is a string. So you would use z.string()
Please test I may be wrong
11 replies
TTCTheo's Typesafe Cult
•Created by Lukem121 on 5/1/2024 in #questions
t3 stack app router examples?
Really keen to find some good app router tRPC react hook forms examples
2 replies
TTCTheo's Typesafe Cult
•Created by Swiichy on 2/20/2024 in #questions
Cron job in nextjs14
You can schedule cron jobs with GitHub actions
3 replies
TTCTheo's Typesafe Cult
•Created by Tribe on 1/28/2024 in #questions
TRPC RSC calls forced to use no_store
I too have been facing this. It is very frustrating.
4 replies
TTCTheo's Typesafe Cult
•Created by Tribe on 1/28/2024 in #questions
TRPC RSC calls forced to use no_store
bump
4 replies
TTCTheo's Typesafe Cult
•Created by ebitzu. on 9/16/2023 in #questions
I got some free time while on bench, who wants some JS help
Hey! I am working on a travel website where users can search/buy plane tickets. Currently, I am facing some architectural challenges in setting up the state management for my website.
Since it functions like a large form, I want to ensure that users can come back at the page at any time using the URL.
Having a tough time deciding how it should work.
4 replies
TTCTheo's Typesafe Cult
•Created by Typedef on 9/20/2023 in #questions
Selecting through transparent background KonvaJS
Not sure I understand fully what you want but could you apply the following style:
Tailwind: pointer-events-none
CSS: pointer-events: none;
4 replies
TTCTheo's Typesafe Cult
•Created by clemwo on 9/21/2023 in #questions
How to customize zod union error message?
5 replies
TTCTheo's Typesafe Cult
•Created by clemwo on 9/21/2023 in #questions
How to customize zod union error message?
You can use the errorMap.
5 replies
TTCTheo's Typesafe Cult
•Created by Jaaneek on 9/21/2023 in #questions
ideas for projects
Are you looking for somthing to build?
8 replies
TTCTheo's Typesafe Cult
•Created by janglad on 9/21/2023 in #questions
Recommendations for websocket service
5 replies
TTCTheo's Typesafe Cult
•Created by Lukem121 on 9/11/2023 in #questions
Error: Invariant: headers() expects to have requestAsyncStorage, none available.
From other posts online have found windows is the cause.
5 replies
TTCTheo's Typesafe Cult
•Created by Lukem121 on 9/11/2023 in #questions
Error: Invariant: headers() expects to have requestAsyncStorage, none available.
Seems I have found a "fix" 🤔
In page.tsx change from "edge" to "nodejs"
export const runtime = "nodejs";
5 replies
TTCTheo's Typesafe Cult
•Created by Lukem121 on 9/11/2023 in #questions
Error: Invariant: headers() expects to have requestAsyncStorage, none available.
I have check the issues on the repo and there are others facing the same issue but no fixes.
5 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?
Really appreciate the advice 🙏
24 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?
Any recommendations?
24 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?
@benten stateful server as in a Digital ocean droplet?
24 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?
@Migu I was hosting on Railway for a while and I think under the hood they use AWS lambda and I was having issues doing web scraping.
24 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?
On another side note I will be doing some web scraping soon that will occur on a per request basis. Any advice related to this? I have tried but run into the same issue as the scraper takes longer than 10 seconds. Maybe for the web scraping I will move it to Digital Ocean
24 replies