Today we’re going to talk about bundle size, its effects, how we can reduce it, measure it, and achieve better results using Preact.
Why we should care about bundle size?
A benchmark google did about mobile website loading revealed how much time takes to mobile user to load about a single website(source):
No matter what, faster is better, and less is more. And sometimes, leaner is better too. We found that 70% of pages were over 1MB, 36% over 2MB, and 12% over 4MB. That’s enormous for a single mobile page, given that 1.49MB takes seven seconds to load using a fast 3G connection.

#programming #react #preact #engeneering #javascript

Minimize Your Bundle Size Via Preact
1.45 GEEK