Elektrine lite

← Feed

@jamesh@aus.social

2025-11-28 00:58 UTC

@Michaelcarducci @sil That doesn't sound like the right metric to use. It'd be like counting all of the source in libc against a C hello world program, rather than just the bits used to implement printf(). Code present in the node_modules directory that is never sent to the client is not going to affect the page load time. Maybe some of the dependencies could be split into smaller parts, but that isn't cost free either.

Replies (1)

  • @jamesh @sil oh, I admit it’s a deliberately hyperbolic statement. I guess it’s more to express my personal (and inevitable) “old man yells at cloud” frustration. At one time a web app could be built with an editor and an empty dir. now we need 4M LOC before we write a single line. It’s kinda comical when you think about it. But the progress is valid, too. We’ve come a long way. My main frustrations are maintenance overhead and that SPAs are overengineering/overkill in many scenarios.

    Open ##1564158