Whenever somebody says "it was better when this was harder to do" it sounds like gatekeeping to me.
-
-
-
Some industries have standards for reasons related to the human propensity to externalize costs onto those least able to bear them. I think about this a lot.
End of conversation
New conversation -
-
-
Now thinking of it, having performance and size budgets baked into
@OpenWc (and have@____lighthouse bundled) or having@RollupJS samples widely available (haven't seen one) would go some way making bringing issues into attention.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
No, but bundlers etc. should, by default, shame users into bundling too much shit into their production builds. Angular has introduced size budgets recently.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Or a postInstall banner in lodash pointing to https://youmightnotneed.com/lodash/ , which explains that you probably don't need it ... and if you do, you don't need all of it.
#tongueincheekThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
IMO no. We should be trying to increase visibility of dependency impact. Things like webpack-bundle-analyzer should ship with frameworks automatically. It should be a give. That front-end CI pipelines should track bundle size regression.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Making adding tracked dependencies harder without making inlining dependencies even harder, makes patching dependencies with known vulns hard.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I have so many thoughts about this. Unbundled apps via Snowpack are close to what you’re describing. From experience: It’s SO MUCH easier to debug perf when you can see how a slow import affects the network tab (vs the usual: “well I guess now the big JS blob file is bigger”)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Depends on whether they're essential or not surely? Love Lighthouse and network throttling in dev tools btw - shows up where you might consider rolling your own (where possible). So how many actively developed sites are actually carrying unneeded weight is what I mean
-
Also would Chrome not be in a position to have most common packages already installed on clients browser for loading? Or would that be considered playing favourites / warping natural evolution of web development?
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.