Re:Median webpage size was 2.3 MB in July
by pavlov on Thursday August 25, 2022 @04:50AM
(#32591229)
Luckily it's very easy to avoid these "web3 dapps" (sigh). And if you don't, an extra megabyte of JavaScript junk seems like a minor problem compared to the usual crypto user experience of losing all your money and/or becoming a cultish bore.
Re:Median webpage size was 2.3 MB in July
by yieldcrv on Thursday August 25, 2022 @09:28PM
(#32602267)
fortunately there are many other crypto user experiences that don't require cultish fealty to a project or token
ready contract data from the nearest node is a pretty benign and common aspect of what web3 inclusion in a site does. just accessing variables and constants in a cloud data store that can be read for free.
Re:Median webpage size was 2.3 MB in July
by iainmerrick on Thursday August 25, 2022 @04:40AM
(#32591171)
The second-last comment on that issue is pretty clear:
The issue with the lib is its non-treeshakeable nature. It should be rewritten using ES6 modules.
That doesn't seem so hard, unless I'm missing something. Certainly shouldn't need a full rewrite from scratch.
My point is, it's not just about bloat and having too many features (which are very hard problems to fix); it's often low-hanging fruit that isn't being picked.
web3.js is a super bloated library and will be added more frequently unless a team does a more optimal version from scratch
https://github.com/ChainSafe/web3.js/issues/1178