once you get into the Real App territory, this stuff starts to be marginal. There are problems of bloat in both cases,
-
-
Replying to @intelligibabble @slightlylate and
but i'm tired of hearing the extra 30k that preact is going to save me when i'm seeing real companies like Airbnb produce 2MB+ bundles
7 replies 8 retweets 69 likes -
Replying to @intelligibabble @slightlylate and
I think Lyft web app is a real app. People are getting places with it. It downloads around 350kb JS in total.
1 reply 1 retweet 2 likes -
Replying to @mohsen____ @slightlylate and
to be clear, i DONT think 2MB bundles are okay :)
1 reply 0 retweets 5 likes -
Replying to @intelligibabble @slightlylate and
1/ I said this to
@slightlylate before. It's all JSX fault. We're writing HTML in JS and expecting our bundles to be small.1 reply 1 retweet 5 likes -
Replying to @mohsen____ @intelligibabble and
2/ JSX is beautiful in dev time but browsers don't like a million document.createElement calls and prefer to parse HTML strings.
2 replies 1 retweet 2 likes -
Replying to @mohsen____ @intelligibabble and
3/ JSX is inflating the bundle size and increases the parse time. We need tools for optimizing React JSX output.
2 replies 1 retweet 3 likes -
Replying to @mohsen____ @intelligibabble and
4/ Redux __INITIAL_STATE__ is not helping either. We're repeating the same data (state) in rendered HTML and a global JSON object.
2 replies 0 retweets 2 likes -
Replying to @mohsen____ @intelligibabble and
Something we've learned the hard way in Chrome: almost always better to focus on "honest" perf wins. Doing less, not hiding doing more.
1 reply 0 retweets 0 likes -
Replying to @slightlylate @mohsen____ and
E.g., when we forked from WebKit, there were something like 6 different font caches in Blink.
@eae removed them & made "slow path" fast.1 reply 0 retweets 0 likes
Now we don't go slower to lay out complex text, we use less memory, we understand the system, and all text better hinted.
-
-
Replying to @slightlylate @mohsen____ and
This was HUGE effort, took several years, but the payoff for doing-less-work vs. hiding doing more has deeper, broader impact.
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.