Skip to content
PluginStats

@route-resource-preload/webpack-plugin weekly downloads statistics

By route-resource-preload · npm · Webpack plugins

Focus on improving the first screen loading speed of applications and providing the best user experience.

View on npm Outdated · Nov 17, 2026

@route-resource-preload/webpack-plugin has 69 recorded weekly downloads on npm, an increase of 188% over the past 30 days, ranking #2702 of 3,247 tracked listings.

Weekly downloads
69
Official API · Dec 5, 2026
7-day growth
+475%
+57 weekly downloads
30-day growth
+188%
+45 weekly downloads
90-day growth
+1050%
+63 weekly downloads
Rank
#2702
▲ 228 in 7 days

About @route-resource-preload/webpack-plugin

@route-resource-preload/webpack-plugin - Any code can be split

Build Size Version

🚀 Focus on improving the first screen loading speed of applications and providing the best user experience, inspiration comes from the preloading of NextJS.

中文文档

Comparison

<details> <summary>Based-on-react.lazy-normal-loading-effect.gif</summary> <br />

</details> <details open> <summary>Based-on-route-resource-preload-effect.gif</summary> <br />

</details>

As we can see from the gif, the display time of the loading component is greatly reduced by route-resource-preload relative to react.lazy.

Why do you need route-resource-preload ?

  • <a href="#dynamic---split-your-component-code-and-load-it-dynamically">Split modules loads as needed</a>, improving the first screen loading experience of your App.
  • Minimize dynamic component loading time and providing the best user experience.
  • Support <a href="#method-3---automatic-preloading">automatic the preloading of resources</a> ( JS / Component / Module-Federation / UMD / Svg / Png , Etc) and providing the best user experience.
  • Support <a href="#method-1----manually-to-preload-single-component-based-on-dynamic">manually to preload</a>.
  • Support typescript.
  • Support <a href="#dynamic---split-your-component-code-and-load-it-dynamically">React <Suspense></a>.

Why route-resoure-preload over react.lazy?

route-resource-preload support code splitting of components, and support automatic preloading and manual preloading of components to avoid poor component interaction experience due to component rendering delays.

Why route-resource-preload over webpack-prefetch/preload and loadable-components-prefetch/preload?

  • Control <a href="#preloadlink---automatic-the-preloading-of-resources-based-on-flag">when to preload in more detail</a>
  • Support preload <a href="#webpack-routeresourcepreloadplugin">Module-Federation</a>
  • Support <a href="#webpack-routeresourcepreloadplugin">More types</a> of resource (image/font/svg/css/js/...)

Online Demo Test

ComponentNormal Lazy Load(ms)Preload (ms)
Simple Component (one-resource)1501
Complex Component (six-resource)35010

It can be seen from the table that preloading significantly improves the loading speed of components, especially for complex components, the improvement of loading speed is more obvious. This shows that in complex business scenarios, preloading can significantly improve component loading speed and user experience.

React Demo Source

Install

npm install @route-resource-preload/webpack-plugin @route-resource-preload/react

Using in react

Method 1 - Manually To Preload Single Component Based on Dynamic
import { dynamic } from '@route-resource-preload/react'

const Image = dynamic({
  loader: () => import('Components'),
  loading: (props) => <>loading...</>,
})

const handleClick = () => {
  // execute preloading
  Image.preload()
}

export default function Main(props){
  return <div onClick={handleClick}>
    <Image {...props} />
  </div>
}
Method 2 - Manually To Preload Multiple Components
  1. Step 1: First, you need add plugin in your build config.
const RouteResourcePreloadPlugin = require('@route-resource-preload/webpack-plugin')

webpack: {
  plugins: {
    add: [
      new RouteResourcePreloadPlugin({
        // [the-preloading-flag]: ['path']

        // project's components(modules)
        modulePreloadMap: {
          "flagA": ["../components/A"]
        },

        // module-federation's components(modules)
        mfPreloadMap: {
          "flagMF": ["ling_core/Components"]
        },

        // static assets (just like js/css/png/jpg/font, etc.)
        assetPreloadMap: {
          "flagA": ['https://domain.com/xxx.png']
        }
      })
    ]
  },
}
  1. Step 2: Create a Preloader and run
import { Preloader } from '@route-resource-preload/react'

const preloader = new Preloader()

// execute preloading
preloader.run('flagA')
Method 3 - Automatic Preloading.
  1. Step 1: First, you need add plugin in your build config.
const RouteResourcePreloadPlugin = require('@route-resource-preload/webpack-plugin')

webpack: {
  plugins: {
    add: [
      new RouteResourcePreloadPlugin({
        // [the-preloading-flag]: ['path']

        // project's components(modules)
        modulePreloadMap: {
          "flagA": ["../components/A"]
        },

        // module-federation's components(modules)
        mfPreloadMap: {
          "flagMF": ["ling_core/Components"]
        },

        // static assets (just like js/css/png/jpg/font, etc.)
        assetPreloadMap: {
          "flagA": ['https://domain.com/xxx.png']
        }
      })
    ]
  },
}
```…

Description from the npm listing.

  • route-resource-preload-plugin
  • webpack-plugin
  • route-resource-preload

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@route-resource-preload/webpack-plugin weekly downloads on npm, last 90 days: 69 weekly downloads as of Dec 5, 2026, +1050% over 90 days.@route-resource-preload/webpack-pluginWeekly downloads on npm · Last 90 days69downloads / week+1050% over 90 days020406080100120140Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@route-resource-preload/webpack-plugin weekly downloads on npm, last 90 days: 69 weekly downloads as of Dec 5, 2026, +1050% over 90 days.

7/30/90-day growth

@route-resource-preload/webpack-plugin weekly downloads growth on npm: +475% over 7 days, +188% over 30 days, +1050% over 90 days.@route-resource-preload/webpack-pluginWeekly downloads growth on npm69downloads / week now7-day growth+57 weekly downloads+475%30-day growth+45 weekly downloads+188%90-day growth+63 weekly downloads+1050%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@route-resource-preload/webpack-plugin weekly downloads growth on npm: +475% over 7 days, +188% over 30 days, +1050% over 90 days.

Ranking history

@route-resource-preload/webpack-plugin npm ranking history: currently #2702 (by weekly downloads).@route-resource-preload/webpack-pluginnpm ranking · by weekly downloads · Last 90 days#2702current rank#1600#1800#2000#2200#2400#2600#2800#3000Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 33 observations · Updated Dec 5, 2026pluginstats.com
@route-resource-preload/webpack-plugin npm ranking history: currently #2702 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 136, #2 (overall #2,702)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 11, #8 (overall #208)
Webpack plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for @route-resource-preload/webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
690
69-1
70-1
71+41
300
30+21
9-3
120
12-21
33+1
32+1
31-2
33+1
32—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@route-resource-preload/webpack-plugin. First seen Oct 16, 2026; last successful collection Nov 17, 2026. See the methodology.