News for hackers. Stuff that matters.
Re:The Cost of JavaScript by SippinLean on Wednesday November 15, 2017 @03:11PM (#15707327)
This is covered in the article

>Removing unused code

Re:The Cost of JavaScript by Chyzwar on Wednesday November 15, 2017 @05:58PM (#15708803)
Nope. it is about including stuff that you really need. I saw apps that where shipping angular + jquery just to provide a single interactive icon.

Article focus on very specific cases of the mobile web application. In most SPA it is not a big deal to ship a 1mb of JS.

Re:The Cost of JavaScript by SippinLean on Thursday November 16, 2017 @02:32PM (#15715748)
They specifically mention tree-shaking and tools to strip unused code from libraries.
Re:The Cost of JavaScript by Chyzwar on Sunday November 19, 2017 @05:29PM (#15736320)
Read my answer more carefully. It is about using frameworks when you really need it. A lot of people include dependencies to their projects that can be avoided by better knowing JS and Web APIs.