AdmiralGeneralAladeen
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 10/11/2023 in #questions
How do I use trpc api imporpt in a client component?
This is the message im getting
6 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 10/5/2023 in #questions
Best app dir template since createT3 doesn't support it?
I'm wondering what app dir templates you guys are using since t3 doesn't come with it out of the box. Or are you guys just using createt3 and then making the necessary changes yourself?
1 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 6/28/2023 in #questions
How to populate ShadCN search/comand component with options, but only have them show up when typing?
I want to use the ShadCN command/search component, but I only want about 3 or 4 of the options to show as deafult, the rest should be there, but only upon searching (with the correct letters)
5 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 6/19/2023 in #questions
Why am I still getting an es-lint error on nextjs build despite turning the rule off?
![](https://cdn.answeroverflow.com/1120410600309268670/image.png)
15 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 6/10/2023 in #questions
DrizzleORM drops tables already in database when trying to add new tables?
Im trying to add some new tables to the DB with drizzle, but the db already had data in it through prisma. trying to push the schema is asking me to drop all of those tables? Anyone know why?
4 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 6/7/2023 in #questions
Anyone know why ShadCN navbar is positioned in corner?
![](https://cdn.answeroverflow.com/1115939201771380786/brave_Krlfic5lHK.png)
9 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 4/22/2023 in #questions
Stripe Webhooks typesafety
Im getting a stripe webhook to send a post request on invoice finalized to my next lamda func, but obviously I don't have the typings of req.body.object. How do I get these?
4 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 2/17/2023 in #questions
Cannot use `useState` inside of callback?
I'm getting this error even though im using it inside a function that returns JSX.Element... No errors in my dev environment, only the vercel linter is saying it fails to compile
6 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 1/30/2023 in #questions
Why am I getting cert_date_invalid when using the www. version of my domain (vercel)
Why am I getting cert_date_invalid when using the www. version of my domain (vercel)
2 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 1/30/2023 in #questions
Hydration failed because the initial UI does not match what was rendered on the server
This only happens when I try to put a <figure> element inside of a paragraph, nextjs
3 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 12/28/2022 in #questions
Is it possible to use string interp for width in tailwind
is it possible to use $w-[${x.width}px] in tailwind?
7 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 12/22/2022 in #questions
Best way to force Vercel build to fail If certain code is included?
Does anyone know a way to force a Vercel build to fail if a certain piece of code exists?
5 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 11/27/2022 in #questions
Millions of erroneous row reads from a count statement with Prisma and planetscale
Does anyone know why this is the case
27 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 11/16/2022 in #questions
UseEffect Order
If I have multiple use effects (one with empty dep array, one to run on every rerendeer, etc), is the order they run in just the order they're written in?
3 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 11/1/2022 in #questions
Does anyone know why typescript type hints in vscode could be broken?
I'm in an electron app and for example when using await on promises, hovering over the variable shows it as a promise instead of the underlying type. Printing it out shows that it's not a promise?
26 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 10/30/2022 in #questions
How do you push schema changes to a dev branch with planetscale and prisma
How do you push schema changes to a dev branch with planetscale/prisma
7 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 10/25/2022 in #questions
how bad of an idea is it to write to a pageViews column in the db on every pageload lmao?
how bad of an idea is it to write to a pageViews column in the db on every pageload lmao? I'd rather not pay for a 3rd party analytics tool while at a small size
17 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 10/6/2022 in #questions
Load theme from cookies without fouc
I want to load my theme from cookiees without a flash of unstyled content (nextjs), is it wise to use a synchronous script tag for this?
8 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 10/3/2022 in #questions
Does anyone know why Chrome is injecting colors into some elements (but not brave)?
I'm assuming this is something to do with dark mode
4 replies
TTCTheo's Typesafe Cult
•Created by AdmiralGeneralAladeen on 9/29/2022 in #questions
Why does NextJS Link component not show a pageload when navigating with it?
How can I make it spin the loading spinner when using next/link
4 replies