Good, and I agree, but I also hope we're not over-estimating the loss of headroom from the 38K marginal cost. Like Yehuda said before, 1/
-
-
app code will dwarf framework code size, and that's true even for my tiny little app (once you log in and do more than just view my books)
1 reply 0 retweets 0 likes -
Replying to @AdamRackis @threepointone
Yep! That's why I focus on code splitting, defaults, etc. Polymer App Toolbox was revolutionary because it made good arch the default.
1 reply 0 retweets 1 like -
Replying to @slightlylate @threepointone
You don't *quite* get code splitting for free with React, but pretty close. (ie click my filter button ^) https://www.npmjs.com/package/react-loadable …
1 reply 0 retweets 3 likes -
Replying to @AdamRackis @threepointone
It's really important that our starter kits and "create-X-app" templates get this stuff right by default; community not in a great place rn.
1 reply 0 retweets 3 likes -
Replying to @slightlylate @threepointone
Entirely possible "just JavaScript" assumes too much of devs at times.
@dan_abramov—pardon sir, any plans to bundle cra with react-loadable?1 reply 1 retweet 2 likes -
Not clear to me how that would look like since we don't prescribe a routing approach in CRA
2 replies 0 retweets 1 like -
Replying to @dan_abramov @AdamRackis and
It's a component, not routing concern.
2 replies 0 retweets 2 likes -
Replying to @ryanflorence @AdamRackis and
My point being we literally give you one component. Not sure how to shove react-loadable in a minimal example without being awkward.
1 reply 0 retweets 4 likes -
Replying to @dan_abramov @ryanflorence and
Horribly unfair imo that React gets blamed for devs not bothering to split. But I agree, jamming react-loadable into cra seems awkward
1 reply 0 retweets 1 like
leaving everything as an exercise to the reader is a choice & some frameworks are doing more/better.
-
-
Replying to @slightlylate @dan_abramov and
idk, that characteristic 1 of my fav things abt React. Sorry we're recapitulating this discussion again, but cargo culters the real prob imo
0 replies 0 retweets 4 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.