2 ms·
With 30KB in size, this framework might be something I can integrate into my websites to get a nice look-and-feel while preserving usability when script blocker
by zaarn 9y ago
With 30KB in size, this framework might be something I can integrate into my websites to get a nice look-and-feel while preserving usability when script blockers are active.
Personally, when I work on projects I tend to develop a pure HTML+CSS solution first and then bolt on JS if needed, so this kind of stuff might make me more comfortable with writing proper webapps since it's still just basically "bolt JS on HTML".
- SaturateDK 9y ago30KB? That's a lot, this is not minified and Gzip'ed is it?
- zaarn 9y agoWell, I just opened the script in firefox and checked the network tab in the dev console. It's 26KB gzip and 31KB after decompression. Which, IMO isn't too bad, I keep my pages under 100KB. If I throw out a picture for an older project, I can easily get back those 30KB to stay under 100KB.
- javan 9y agostimulus.umd.js is ~5.3KB gzip'd
- emilfihlman 9y ago>It's 26KB gzip and 31KB after decompression. Yeah so no. There is no way gzip could only compress 16% of utf8 data.
- zaarn 9y agoAs another comment mentions, there is a gzip'd variant available that comes under 6 KB.