
How Baseline Can Help You Ship Less JavaScript
Articles on Smashing Magazine smashingmagazine.com
This is what was read here when it was published. smashingmagazine.com no longer carries it in what it publishes now.
Most of us install a dependency once and never look at it again. It does its job, the tests pass, and we move on. But the web platform keeps moving too, and a surprising number of the libraries sitting in your package.json today are now built into the browser.
In a typical mid-sized JavaScript app, you can often find somewhere between 60KB and 90KB (minified and gzipped) of dependencies that the platform can now handle on its own. Date and number formatting, HTTP requests, modals, tooltips, deep cloning, grouping arrays: these were all real gaps a few years ago. A lot of them aren’t gaps anymore.
More ways to use this
Open on another device
Scan to open this page. Your saved notes and account access are not included.