|
|
|
|
|
by geezerjay
2599 days ago
|
|
> Citation needed? I don't have a citation, but a colleague of mine who's working on front-end projects repeatedly complains that today's JS stacks require half a dozen base JS packages, which in turn download dozens if not hundreds of ancillary packages, not to mention requiring a couple of transpilers and a bunch of tooling. And for what? Well, just to be able to render some text and a couple of buttons. Nowadays we have whole server projects that take less than 50MB of source code and dependencies to build, while a miserable SPA with a login screen and a couple of menus and buttons requires nearly 400MB of JS. That's pretty bleak. |
|
There are projects like create-react-app and Parcel which offer very reasonable zero-configuration toolchains.
If you care a lot about runtime dependency weight, there are lightweight libraries like Preact (3kB).