We want users to interact meaningfully with what we build.
Here are some case studies:
Here are a couple case studies where low performance had a negative impact on business goals:
Spending a long time parsing/compiling code can heavily delay how soon a user can interact with your site. The more JavaScript you send, the longer it will take to parse & compile it before your site is interactive.
The cost of JavaScript (Addy Osmany)
The Time to Interactive (TTI) metric measures how long it takes a page to become interactive. "Interactive" is defined as the point where:
Webpack allows you to split your code into various bundles which can then be loaded on demand or in parallel. It can be used to achieve smaller bundles and control resource load prioritization which, if used correctly, can have a major impact on load time.
opening the code coverage panel in chrome, we can check how much JavaScript is used in the page we are rendering
Tweak the performance of a web page could lead to huge advantages for the business
Because we care of our craft, and be able to provide only the exact amount of code needed for one page to work is an awesome chance to apply our craft