Remix.run Logo
bruce511 2 hours ago

I concur that most web sites could use less JavaScript. And a lot of (but not all) cosmetic uses for JavaScript can be done in CSS.

Of course for web apps (as distinct from web sites) most of what we do would be impossible without JavaScript. Infinite scrolling, maps (moving and zooming), field validation on entry, asynchronous page updates, web sockets, all require JavaScript.

Of course JavaScript is abused. But it's clearly safe and useful when used well.

sebbadk an hour ago | parent [-]

Infinite scrolling is JavaScript abuse. Pagination is much better for letting people keep track of their progress and time.