Exotica
Exotica
TTCTheo's Typesafe Cult
Created by honsoncooky on 7/20/2023 in #questions
Client Side Functionality?
4 replies
TTCTheo's Typesafe Cult
Created by rainy on 7/18/2023 in #questions
Can you use uploadthing with javascript and not typescript
oh when u get to library typing lol
42 replies
TTCTheo's Typesafe Cult
Created by rainy on 7/18/2023 in #questions
Can you use uploadthing with javascript and not typescript
yep just when u get to the point just try to use typescript instead of following a long tutorial on it. It's really not that hard
42 replies
TTCTheo's Typesafe Cult
Created by rainy on 7/18/2023 in #questions
Can you use uploadthing with javascript and not typescript
Make sure you don't learn TS with tutorials. Theo already made a video about it if you know it https://www.youtube.com/watch?v=kRiD6ZpAN_o
42 replies
TTCTheo's Typesafe Cult
Created by rainy on 7/18/2023 in #questions
Can you use uploadthing with javascript and not typescript
TS complies to JS in the end so you could do the same thing with JS and TS
42 replies
TTCTheo's Typesafe Cult
Created by rainy on 7/18/2023 in #questions
Can you use uploadthing with javascript and not typescript
It's up to you bro. Just use whats comfortable and works for you. Just wanted to say that there is a reason why you have to write extra lines of code in TS because those extra code is so meaningful and could save you time in the future even for smaller projects. If JS floats your boat go ahead but you might hit a painpoint at one point and TS will safe your life and thats why people recommend to use TS
42 replies
TTCTheo's Typesafe Cult
Created by rainy on 7/18/2023 in #questions
Can you use uploadthing with javascript and not typescript
There is a reason why TS requires 20 lines rather than js with 10 lines. You are not gonna get code auto complete and type hints. Gonna be struggling real hard in larger projects with other people working on it too.
42 replies
TTCTheo's Typesafe Cult
Created by Leke on 7/18/2023 in #questions
AutoIncrement using mongoose
Are you trying to use ticketNo as if it's the id? Why not just use _id auto generated by mongo? Also me have same question as barry why use mongo KEKW
3 replies