: but your point is right-on: what's happening here is externalization of concerns
/cc @TheLarkInn @nekrtemplar
-
-
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 -
Replying to @ericf
: how may of them are loaded in a single view? Also, yes, at 3k...some bundling is necessary /cc
@AdamRackis@TheLarkInn@nekrtemplar1 reply 0 retweets 1 like -
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
: does react-sever tend to eval code in smaller bundles? If so, that'd be hugely good.
/cc @AdamRackis @TheLarkInn @nekrtemplar
-
-
Replying to @slightlylate
yeah exactly, it bundles JS code based on chunks of UI that are flushed.
@AdamRackis@TheLarkInn@nekrtemplar0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
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.