Friday, June 2, 2017

Two Quick Ways To Reduce React App’s Size In Production



If you are building a React + Redux App that has Webpack, then you might have noticed that the size of the final bundle.js (the dev version) for a simple app itself could be 1MB- 2MB! For example: Below is a picture from Webpack stats analyzer for the simple react-redux-blog (live).

No comments:

bundlephobia

JavaScript bloat is a more real problem today than it ever was. Bundlephobia lets you understand the performance cost of adding a npm pack...