DEV Community

Discussion on: Everything Addy Osmani Hates About JavaScript

Collapse
 
waylonwalker profile image
Waylon Walker

Many modern web frameworks and hosting providers take care of so many of these very deep technical concerns for us and as a dabbler of webdev I greatly appreciate them for the experience they bring.

I want a nice experience building my side projects while giving users the best experience within reason. There are definitely issues of too much JavaScript, duplicated data, but for the most part they are good enough out of the box for my use.

Collapse
 
aretheregods profile image
aretheregods • Edited

Actually, very few of these things are taken care of by frameworks. The only one that most frameworks do automatically on build is minification. Everything else is something the developer has to be aware of and handle in one way or another. Even with tree shaking, if it is configured in one's chosen toolset, the developer still has to be aware of the correct way to import a library's modules in order for said library's tree to be shaken. If you really think the bundle's you're getting by default are "good enough", you should really look again. Those bundles are almost certainly not actually optimized.

Collapse
 
waylonwalker profile image
Waylon Walker

Thanks for the tips. I will definitely look closer at my import statements.