About 71,900 results
Open links in new tab
  1. Reducing JavaScript Bundle Size in React: Techniques for

    Nov 10, 2024 · In this article, we’ll explore practical techniques to minimize JavaScript bundle sizes in React applications. We’ll cover strategies such as tree-shaking, dynamic imports, code splitting, and...

  2. How to Minimize React Bundle Size for Faster Loading Times

    Mar 10, 2023 · By analyzing the bundle, identifying the largest components, and implementing strategies such as using smaller libraries, code splitting, lazy loading, tree shaking, minification, and compression, developers can reduce React bundle size and improve performance.

  3. How to minimize the size of webpack's bundle? - Stack Overflow

    Dec 12, 2015 · I'm writing a web app using react and webpack as my module bundler. My jsx code is really light so far, the size of the entire folder is 25 kb. My bundle.js created from webpack is 2.2 mb though. After running the optimization with the -p flag, it reduces the bundle to 700kb, which is still extremely big.

  4. javascript - ReactJS - What makes bundle.js size big - Stack Overflow

    Jul 8, 2019 · After that is done, you can start identifying which 3rd party modules that are taking the most size in your vendor bundle. Then, you can consider code-splitting them so that they will be in their own separate chunks, and you can load them only when needed.

  5. How much is your production bundle size? : r/reactjs - Reddit

    When we optimize bundle size (one of the last things we do on a project) we normally start at about ~2mb and will get to around 100-200kb. It's usually fixing how we import UI libs + dealing with moment (lol).

  6. Bundlephobia | Size of npm dependencies

    Bundlephobia helps you find the performance impact of npm packages. Find the size of any javascript package and its effect on your frontend bundle.

  7. javascript - Reducing bundle size of a production application

    Aug 18, 2019 · I understand that code-splitting splits your code into various bundles which can then be loaded on-demand or in parallel. How does it help in reducing the bundle size? Whilst it may not reduce your overall bundle size, it can reduce the …

  8. 6 tips to optimize bundle size - DEV Community

    May 13, 2020 · Measure and visualize bundle size Valid for: any app bundled with Webpack. The tool webpack-bundle-analyzer can produce an easily understandable view of the composition of a JS bundle. The easiest way to use it is to generate a …

  9. How to Minimize React Bundle Size for Faster Loading Times

    Feb 4, 2024 · It works by traversing the dependency tree of your codebase and removing any modules or functions that are not explicitly imported or used. This optimization technique helps reduce the size of your JavaScript bundle, resulting in …

  10. How I Reduced My React App’s Bundle Size by 50% - Medium

    Dec 24, 2024 · Here, I’ll walk you through the steps and techniques I used to reduce a React app’s bundle size by 50%, complete with real-world examples and tools you can use. Slower Initial Load: Large...

  11. Some results have been removed
Refresh