Also, it's the architecture that matters most. FW overhead is part of the picture but doesn't dominate.
-
-
I.e., you can make something in an framework that doesn't code-split. That this is the norm today is 0_o
2 replies 0 retweets 4 likes -
It's malpractice to make or adopt tools that don't do this by default, yet here we are discussing micro issues...
2 replies 0 retweets 3 likes -
Replying to @slightlylate @_developit
That's the thing: React does code split by default. W the full lang at your fingers, not a watered down template dsl, can import() as needed
2 replies 0 retweets 1 like -
Adam Rackis Retweeted Adam Rackis
Saying React doesn't code split by default is like saying React won't process Maps by defaulthttps://twitter.com/AdamRackis/status/855112673587064832 …
Adam Rackis added,
1 reply 0 retweets 0 likes -
Replying to @AdamRackis @slightlylate
I think Alex meant that the official tooling for most libraries does not yet make splitting automated. It's difficult but worthwhile.
1 reply 0 retweets 4 likes -
Replying to @_developit @slightlylate
True, but man it's still pretty turn key https://github.com/thejameskyle/react-loadable …
1 reply 0 retweets 5 likes -
The last time I did a React developer survey, <10% of ~500 respondents identified they were code-splitting. Strong defaults could help here.
4 replies 3 retweets 23 likes -
seems like a really easy win :D
2 replies 0 retweets 6 likes -
Replying to @_developit @addyosmani and
What kind of defaults are you suggesting? CRA doesn’t dictate how you do routing and doesn’t generate a “real”-ish project. Should we?
4 replies 0 retweets 12 likes
Yes, absolutely; at least as default. It's the reason I tell people to use Polymer App Toolbox and *not* Polymer as a stand-alone library.
-
-
Replying to @slightlylate @dan_abramov and
How would you go about selecting an official routing library though?
1 reply 0 retweets 0 likes -
Replying to @Connorelsea @slightlylate and
make the tool extensible and allow router authors to extend it with integrations for their routers.
0 replies 0 retweets 0 likes
End of conversation
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.