regular javascript is actually okay in my book. It’s just node.js that I despise because of all it’s weirdness. Javascript should just be able to be opened in a browser and run with no fuss.
Yes, but then the browser will fetch them with separate HTTP requests. You might not want to wait for 10 requests to finish before your web app can load.
Also if you want to use the features of TypeScript or SASS (many people do), you will need to turn that code into something the browser will understand.
I’m just gonna go out on a limb and ruffle some feathers and say it’s node.js
Well, that’s a runtime. But yes, JavaScript.
regular javascript is actually okay in my book. It’s just node.js that I despise because of all it’s weirdness. Javascript should just be able to be opened in a browser and run with no fuss.
It can be. But if you want to have modules you need to use something to compile them into a single file.
There are native modules, no?
Yes, but then the browser will fetch them with separate HTTP requests. You might not want to wait for 10 requests to finish before your web app can load.
Also if you want to use the features of TypeScript or SASS (many people do), you will need to turn that code into something the browser will understand.
I actually like JavaScript. I even like node a little. But the shitshow that is React can fuck right off.
I’m glad I got out of webdev when node.js started taking off.