Nobody working on a consumer product at Google experiences Closure or Polymer or Angular or GWT the way external developers do. The layers of abstraction and tooling mandated to get decent perf prevent it
-
-
Replying to @slightlylate @polotek and
This doesn't keep a lot of these products from being poor mobile experiences, but the mobile question is also approached differently: when you can afford to make multiple versions, you often do.
2 replies 0 retweets 1 like -
Replying to @slightlylate @polotek and
Meanwhile, I see smaller firms pervasively misread the BigCo OSS framework marketing and fail to adopt minimum necessary support infra and tooling. The results are predictably poor, and they hurt those without money most.
1 reply 0 retweets 3 likes -
Replying to @slightlylate @polotek and
So I get excited by things like default code splitting and differential serving because they're starting to re-create some of this necessary infra.
1 reply 0 retweets 2 likes -
Replying to @slightlylate @polotek and
Dan Abramov Retweeted Andrew Clark
Maybe you'll get excited about React thenhttps://twitter.com/acdlite/status/1007062696141787136 …
Dan Abramov added,
1 reply 1 retweet 9 likes -
Replying to @dan_abramov @polotek and
Will that be on-by-default in, e.g., CRA? If so, that *is* exciting!
2 replies 0 retweets 2 likes -
Replying to @slightlylate @dan_abramov and
Also, is there progress on differential serving/builds? Getting the default React/React DOM to the point where they aren't pulling in stuff like Promise/Object.assign/etc. polyfills for capable browsers would be huge.
2 replies 0 retweets 2 likes -
Replying to @slightlylate @dan_abramov and
Looking quickly at linked React demos linked from http://reactjs.org , lets take the first one and see what's getting pulled in...https://reactjs.org/community/examples.html …
1 reply 0 retweets 0 likes -
Replying to @slightlylate @dan_abramov and
This `package.json` *looks* good: https://github.com/ahfarmer/calculator/blob/master/package.json … Nobody's saying "please polyfill the universe" in this config.
2 replies 0 retweets 1 like -
Replying to @slightlylate @dan_abramov and
create-react-app (react-scripts in package.json) comes with polyfills (promise and fetch as fas as I remember), but they support browserlist field in v2 (which is in development), so I guess they will be able to remove ployfills depending on the value of the field
1 reply 0 retweets 1 like
That's great!
-
-
Replying to @slightlylate @stereobooster and
Yep the deps are in https://github.com/facebook/create-react-app/blob/next/packages/react-scripts/package.json … and seems like 2.0 will drop some of them https://github.com/facebook/create-react-app/issues/3343 …
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.