how do you bundle ES6 modules, though? Today’s bundlers do it, by removing the modules from the code.
-
-
If you let the server figure out deps it can http/2 push them ahead maybe?
1 reply 0 retweets 0 likes -
Malte Ubl Retweeted Malte Ubl
See https://twitter.com/cramforce/status/792018011460804608 … With 1000s of modules that is inefficient. We tried.
Malte Ubl added,
3 replies 0 retweets 0 likes -
How about letting sites that do that figure out a service worker solution w initial-install on first load?
1 reply 0 retweets 0 likes -
still too slow: Try 1000 IPCs between UI thread and network thread on Android.
1 reply 0 retweets 0 likes -
Yeah i see the problem, how about defining modules in a single file but still use ES6 modules? (a standard)
1 reply 0 retweets 0 likes -
Replying to @rikarends
That would work. But JARs are better, I think. No changes to language required.
@awbjs@slightlylate3 replies 0 retweets 0 likes -
that’s the idea, ES gives you a linguistic structuring mechanism. Everything else here is extra-lingual
1 reply 0 retweets 0 likes -
Understand. As a web developer I don’t really care which layer solves it, though. Just one has to do it.
1 reply 0 retweets 0 likes -
it think much of the challenge is that it requires a multilayer solution. Needs architectural thinking
1 reply 0 retweets 0 likes
: ...which is why we worked on: https://www.w3.org/TR/web-packaging/ …
/cc @cramforce @rikarends
-
-
don’t know the details, but
0 replies 0 retweets 0 likesThanks. 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.