: webpack (and/or it's users) seem to assume that the biggest problem is size, hence minification/bundling
-
-
Replying to @slightlylate @TheLarkInn
: the reality, however, is that for most apps the biggest challenge is *how much code you run at startup*
3 replies 1 retweet 7 likes -
Replying to @slightlylate
Isn't that a challenge for the *developer* though, as opposed to Webpack?
@TheLarkInn@nekrtemplar2 replies 0 retweets 1 like -
Replying to @AdamRackis
: but your point is right-on: what's happening here is externalization of concerns /cc
@TheLarkInn@nekrtemplar1 reply 0 retweets 2 likes -
Replying to @slightlylate
: if you talk to React devs, they'll say "you're holding it wrong". Same for build-tools. /cc
@TheLarkInn@nekrtemplar1 reply 0 retweets 5 likes -
Replying to @slightlylate
: what we need now, however, is an recognition that we need to tie code loading to app events /cc
@TheLarkInn@nekrtemplar2 replies 0 retweets 4 likes -
Replying to @slightlylate
: and THAT is why I'm head-over-heels about PRPL. Code loading happens at view construction... /cc
@TheLarkInn@nekrtemplar3 replies 0 retweets 3 likes -
Replying to @slightlylate
: ...and thanks to HTMLImports, dev doesn't have to treat that like a separate build-time concern /cc
@TheLarkInn@nekrtemplar1 reply 0 retweets 1 like -
Replying to @slightlylate
.
@AdamRackis: basically, w/ PRPL you get to ship and run your code in the same small modules you wrote it in /cc@TheLarkInn@nekrtemplar1 reply 0 retweets 3 likes -
Replying to @slightlylate
but my app has 3,000 small modules (seriously that’s what Webpack stats tell me.)
@AdamRackis@TheLarkInn@nekrtemplar1 reply 0 retweets 2 likes
: how may of them are loaded in a single view? Also, yes, at 3k...some bundling is necessary
/cc @AdamRackis @TheLarkInn @nekrtemplar
-
-
Replying to @slightlylate
About half are required for any view. btw, https://react-server.io is PRPL-like
@AdamRackis@TheLarkInn@nekrtemplar1 reply 0 retweets 1 like -
Replying to @ericf
: Interesting. I'm not sure how I grok how server-side rendering does a lot to help here? /cc
@AdamRackis@TheLarkInn@nekrtemplar2 replies 0 retweets 0 likes - 4 more replies
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.