Things that should not end up in production clientside code: 1. Bluebird 2. Moment 3. Lodash 4. PropTypes 5. Polyfills for things that 90%+ of your users already have in their browser's. 6. history.js 7. babel-polyfill 8. node shims for browser stuff (url, etc)
-
Show this thread
-
I'm not trying to hate on these libraries. My point is that everything you include had better be justified. For example spending 20kb min+gzip to include all of lodash just for .get() and .filter() makes zero sense in most cases. At least do atomic imports.
3 replies 7 retweets 84 likesShow this thread -
Replying to @HenrikJoreteg
The fact that we've spent collectively millions (or billions) of hours debating is a huge waste of human capacity. No other language puts up with sturm und drang about 20k of dependencies, and the time spent on this is not spent on other *performance goals*
1 reply 0 retweets 1 like
If this problem was very serious, people with leverage in browsers should work on cross-origin resource caching. The savings in human effort would be enormous.
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.