As someone who never did much web development, I was... surprised... at the amount of tooling that existed to paper over this issue. The headaches which stood out for me were JavaScript bundling (then you need to choose which tool to use - WebPack but then that's slow so then you switch to esbuild) and minified code (but that's hard to debug so now you need source maps to re-reverse the situation).
Of course the same kind of work needs to be done when developing programs in other languages. But something about developing in JS felt so noisy. Imagine if to compile Java or Rust you needed to first choose and configure your own compiler, each presenting their own websites with fancy logos adorning persuasive marketing copy.
Closer look at human story: Ghana: A Week in a Toxic Waste Dump
One of the problems with using older devices for a long time, even if they are repaired, is that common ways people use their computers (I'm including smartphones, tablets, laptops etc. here) gets slower over time. See How web bloat impacts users with slow connections by danluu@mastodon.social