: and THAT is why I'm head-over-heels about PRPL. Code loading happens at view construction...
/cc @TheLarkInn @nekrtemplar
-
-
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 -
Replying to @slightlylate
when it flushes a chunk of the doc, it includes the JS to boot it in client
@AdamRackis@TheLarkInn@nekrtemplar1 reply 0 retweets 0 likes -
Replying to @ericf
: Interesting. I love the chunking! Got an app I can trace? /cc
@AdamRackis@TheLarkInn@nekrtemplar2 replies 0 retweets 3 likes -
Replying to @slightlylate
Here are some example apps in the repo https://github.com/redfin/react-server/tree/master/packages/react-server-examples …
@AdamRackis@TheLarkInn@nekrtemplar1 reply 0 retweets 2 likes
: demos aren't hosted anywhere? Hrmmm: https://github.com/redfin/react-server/tree/master/packages/react-server-examples/bike-share …
/cc @AdamRackis @TheLarkInn @nekrtemplar
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.