Spent a lot of the last 6 months helping partners analyse the performance of their PWAs. Biggest lesson: RUN LESS JS. Second: DELAY LOAD.
-
-
Replying to @slightlylate
Our take on it is: How do we make adding more overall JS not slowdown start up? Scalability. Takes you down a different route.
1 reply 1 retweet 5 likes -
Replying to @sebmarkbage
: two related things: running less code is always better. Let the browser do what it can. Second, timing matters
1 reply 0 retweets 1 like -
Replying to @slightlylate
: I see lots of React apps screw themselves by loading everything up front; webpack and script-centricness defeat browser help
1 reply 0 retweets 1 like -
Replying to @slightlylate
: if you could break up the work and load modularly, when needed, that can work... but that's not where React apps are at today
2 replies 1 retweet 1 like -
Replying to @slightlylate
webpack does on-demand imports pretty well, either delayed or triggered by interaction. https://sokra.github.io/slides/frontend-optimize … has examples
2 replies 0 retweets 0 likes -
Replying to @psimyn
: what I'm seeing in projects is that even if this is true in principle, nobody does it. FWIW, was true of the Dojo build system too
1 reply 0 retweets 0 likes -
Replying to @slightlylate
: so teams us the tools that make them productive, assuming they also handle this dimension -- which they don't by default
1 reply 0 retweets 1 like
: when the things that make development easy make the UX suck, it's reasonable to call them misguided.
-
-
Replying to @slightlylate
: when we were misguided in '05, it was excusable. Pretty new stuff. It's a decade+ later. What's our excuse?
1 reply 0 retweets 0 likes -
Replying to @slightlylate
I was going to say lack of docs.. Async imports by default (or detecting how module is used) would be super useful.
1 reply 0 retweets 0 likes - 8 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.