r/programming • • Apr 29 '21

Modern JavaScript Explained For Dinosaurs

https://medium.com/the-node-js-collection/modern-javascript-explained-for-dinosaurs-f695e9747b70
287 Upvotes

172 comments sorted by

View all comments

70

u/k1lk1 Apr 30 '21

Lipstick on a pig. And just results in insanely bloated websites that perform badly, all the while webdevs pat themselves on the back every 6 months for reinventing DHTML for the 132nd time.

-5

u/valtism Apr 30 '21

What a tired take coming from a lack of understanding of modern web app development.

4

u/Zer0ji Apr 30 '21

Dude, I tried using React to redo a POC front-end, and ended up with 600 MB of modules on my disk and a built app that was nearly 1 MB, for something all text with maybe 500 lines of code...

I since then switched to Preact but it's still big.

1

u/valtism May 02 '21

Well react compressed is like 36kb, so I'm sorry that you managed to up your production build by 974kb in 500 lines of code.

1

u/Zer0ji May 02 '21

Well I guess I screwed up my build pretty bad... Thanks for the heads-up, I'll look into compression better.