5 ms·
On the other side, I wish the babel tower of javascript stacks collapses under its own weight so we can stop normalizing 50mb of download and 2gbs of ram used f
by leidenfrost 4y ago
On the other side, I wish the babel tower of javascript stacks collapses under its own weight so we can stop normalizing 50mb of download and 2gbs of ram used for a front end.
Maybe something that compiles to wasm? Idk
- dmitriid 4y agoSo now you'll download megabytes of wasm. Because the browser has very little of what you need, and you need to bring all your world with you, all the time: https://news.ycombinator.com/item?id=34218520 https://news.ycombinator.com/item?id=34218520
- heavyset_go 4y agoI know it's cliche, but there are Rust frontend frameworks that compile down to WASM.
- whatshisface 4y agoApline.js is pretty nice for that.
- kaba0 4y agoWasm can’t really do DOM manipulations without JS interop, so that would just further the issue.
- kitsunesoba 4y agoIt probably won't happen but what I'd really like to see is for browsers to be a bit more "batteries included" when it comes to UI so devs feel it less necessary to build leaning towers of JS. In fact I think it should be a bigger priority than a lot of the things that've been focal points in the web standards space recently… it feels silly that one needs to pull in a third party lib or roll your own for something as basic as a sortable table.
- mattnewton 4y agoIt’s often not worth baking it into the browser; you’ll have to rewrite it anyways to implement the latest design trend or interaction pattern. I think having a “standard library” in userspace, preferably catchable, kinda like we used to have with jquery is as good as it’s going to get, but even then it’s inviting version hell on the “standard library”
- kitsunesoba 4y agoHigh degrees of stylability is a must for these UI components, so design trends should be moot, unless we're talking about technical design trends in which case I don't think web front end is going to see such crazy churn forever. It's already slowed down somewhat from what it was and I believe it's eventually going to hit something of a steady state. Plus even if there's some degree of persistent trendchasing in the web front end space, there's also those who always go for the old "boring" options when making choices of this nature, and better baked-in components would serve these devs well.
- whatshisface 4y ago>It probably won't happen but what I'd really like to see is for browsers to be a bit more "batteries included" when it comes to UI This has been happening gradually for the past decade and now jquery is no longer necessary.
- kitsunesoba 4y agoYeah, it’s definitely in a better place than it was a decade ago, that’s for sure. You can go much further than before with no imports. Even so, I’d like to see it improve further and at a faster pace.
- krapp 4y agoExcept JQuery had a UI framework which was actually quite nice and is now long relegated to the dustbin of history.
- pjmlp 4y agoWhen I work in teams, the FE folks handle whatever they feel like and I just integrate their stuff, when I do my own little side projects, I do vanillajs and keep being an happy fellow.
- deleted 4y ago[deleted]
- farnsworth 4y agoAh yes, you surely won't have to download any tooling to compile some random language to wasm.