Can you use uploadthing with javascript and not typescript
I'm only using javascript for my app, i wonder if I could still use uploadthing
25 Replies
yes
Aight
Do you have a tutorial for that?
the docs are all in ts ðŸ˜
Solution
you can ignore the types
or remove them
aight, ima see how it goes
Imagine using JavaScript and not typescript
could be me
i dont wanna write 20 more lines of code for something that can be done in 10 lines bro
tell me you misunderstand typescript without telling me you misunderstand typescript
no, i get what its for
i actually do plan on learning and using it in the foreseeable future lol
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.
my whole point was ts doesnt take 20 lines when js is 10
well
in super large profits
ima have to use TS
but i do like to use JS whenever i can
well, technically, i probably could do stuff in JS
probably not ideal
but i could
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
yeah yeah, i do plan on learning it
TS complies to JS in the end so you could do the same thing with JS and TS
it would be fun either way
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
Theo - t3․gg
YouTube
Don't Learn TypeScript
I'm so sorry for this.
#typescript #javascript
ALL MY VIDEOS ARE POSTED EARLY ON PATREON https://www.patreon.com/t3dotgg
Everything else (Twitch, Twitter, Discord & my blog): https://t3.gg/links
i mean
i know a bunch of other static type languages
so it wouldn't be TOO hard
its not hard at all
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
atleast not the basics
or the basic generics
well
i could give it a read before using it
oh when u get to library typing lol
i do prefer reading over watching anyways
typescripts beginner docs are funky but u do u