Luc Ledo
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Luc Ledo on 10/29/2024 in #questions
Weird tech stack from coding assignment
must it be a monorepo then?
14 replies
TTCTheo's Typesafe Cult
•Created by Luc Ledo on 10/29/2024 in #questions
Weird tech stack from coding assignment
you can you import type if frontend and backend are separated?
14 replies
TTCTheo's Typesafe Cult
•Created by Luc Ledo on 10/29/2024 in #questions
Weird tech stack from coding assignment
but how does it work though? how would it provide type-safety between the frontend and backend?
14 replies
TTCTheo's Typesafe Cult
•Created by Luc Ledo on 1/30/2024 in #questions
Best way to get a react component's raw code?
Solution in case anyone ever needs this.
13 replies
TTCTheo's Typesafe Cult
•Created by Luc Ledo on 1/30/2024 in #questions
Best way to get a react component's raw code?
I don't see any better way to do this. Shadcn solution is much more cursed imo.
13 replies
TTCTheo's Typesafe Cult
•Created by Luc Ledo on 1/30/2024 in #questions
Best way to get a react component's raw code?
I got it working. Just had to specify utf8 encoding lol.
13 replies
TTCTheo's Typesafe Cult
•Created by Luc Ledo on 1/30/2024 in #questions
Best way to get a react component's raw code?
I do know about contentlayer. What I don't understand is how he can use ComponentPreview without passing in any children even though it's required.
He uses this to get the raw code...
But I tried a simplified example in my project and it didn't work because there is no children. So then I pass in some children but still I didn't get raw code back.
There must be some easier way to do this since it's a common problem for any coding example, this is way too complicated.
13 replies
TTCTheo's Typesafe Cult
•Created by Luc Ledo on 1/30/2024 in #questions
Best way to get a react component's raw code?
yes, I read the .tsx file
13 replies
TTCTheo's Typesafe Cult
•Created by Luc Ledo on 1/30/2024 in #questions
Best way to get a react component's raw code?
I tried that too. It doesn't give the raw code. Unless I'm doing something wrong.
13 replies
TTCTheo's Typesafe Cult
•Created by zendev on 4/19/2023 in #questions
File storage with T3
Alright thanks, and have you used uploadthing?
48 replies
TTCTheo's Typesafe Cult
•Created by zendev on 4/19/2023 in #questions
File storage with T3
Is it still bad, how does DOS compare to R2 in terms of ease of use?
48 replies
TTCTheo's Typesafe Cult
•Created by Luc Ledo on 8/10/2023 in #questions
How to extract tuple from array of objects for Zod enums?
Don't think you understood the question. Here is the answer I found though in case anyone else needs it.
3 replies
TTCTheo's Typesafe Cult
•Created by Luc Ledo on 10/13/2023 in #questions
Is my backend team right?🤔
Basically, I believe this solution it would not matter how big the collection is since we are using limit to take only x amount.
11 replies
TTCTheo's Typesafe Cult
•Created by Luc Ledo on 10/13/2023 in #questions
Is my backend team right?🤔
Someone proposed this solution, tell me what yall think.
11 replies
TTCTheo's Typesafe Cult
•Created by Luc Ledo on 10/13/2023 in #questions
Is my backend team right?🤔
My backend team handles that but yes, I don't think they would be that incompetent. It's more of a problem with the collection being 1 billion+ rows
11 replies
TTCTheo's Typesafe Cult
•Created by Luc Ledo on 10/13/2023 in #questions
Is my backend team right?🤔
We're not at that point yet. Need to make mongodb work for now.
11 replies
TTCTheo's Typesafe Cult
•Created by Luc Ledo on 8/24/2023 in #questions
Can't get OG to show
Nope, even now it won't show. It works for linkedin though...
11 replies
TTCTheo's Typesafe Cult
•Created by Luc Ledo on 8/24/2023 in #questions
Can't get OG to show
11 replies
TTCTheo's Typesafe Cult
•Created by Luc Ledo on 10/6/2023 in #questions
Uploadthing: Is there way to view all uploaded items?
is uploadthing really the best s3 wrapper service or is there something better
7 replies
TTCTheo's Typesafe Cult
•Created by Luc Ledo on 10/6/2023 in #questions
Uploadthing: Is there way to view all uploaded items?
you can't even filter or search it seems
7 replies