I've seen many references to JS frameworks pushing hundreds of KB down to the client. I'm having difficulty seeing how that's possible 1/
-
-
Replying to @AdamRackis
These numbers are for React, so I can't speak to ng2, Ember, etc., but for my Booklist project https://github.com/arackaf/booklist … 2/
1 reply 1 retweet 2 likes -
Replying to @AdamRackis
For the main books grid, the results I'm seeing seem pretty tame / reasonable. 3/
1 reply 0 retweets 0 likes -
Replying to @AdamRackis
Sending down the full React/Redux stack, plus a JS color-picker, a react auto-suggest, plus my app code -> 331Kpic.twitter.com/TKp0zt9R4b
1 reply 0 retweets 1 like -
Replying to @AdamRackis
So I do have 100's KB, but that's for the whole application & I'm not even SW-caching unchanging utilities yet. (I _am_ gzipping/minifying)
1 reply 0 retweets 0 likes -
Replying to @AdamRackis
Prior tweet from
@slightlylate motivated me to look at these numbers: I believe he said a certain JS FW was in an ad, pushing like 500K down1 reply 0 retweets 0 likes -
Replying to @AdamRackis
*Are there even* js frameworks that ship that much code?! @.@
2 replies 0 retweets 0 likes -
Replying to @AdamRackis
: my critique isn't that FWs are that large (although most *are* too big), it's that the patterns they encourage make sites slow
1 reply 0 retweets 1 like -
Replying to @slightlylate
: the default way people use, e.g. React, is to bundle the whole app into a single JS file. This is a recipe for slowness.
2 replies 0 retweets 2 likes
: ...and I frequently see lots of transpilation and unnecessary polyfill inclusion as part of this story.
-
-
Replying to @slightlylate
: so the question I ask is always "how did the user developer get into that situation? What led them down this slow path?"
1 reply 0 retweets 0 likes -
Replying to @slightlylate
: frequently it starts with decisions that framework documentation and bootstraps bake in.
0 replies 0 retweets 1 like
End of conversation
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.