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 Fresh · Oct 18, 2026

@route-resource-preload/webpack-plugin has 47 recorded weekly downloads on npm, an increase of 88.0% over the past 30 days, ranking #1817 of 2,322 tracked listings.

Weekly downloads
47
Official API · Oct 18, 2026
7-day growth
-63.3%
-81 weekly downloads
30-day growth
+88.0%
+22 weekly downloads
90-day growth
+1467%
+44 weekly downloads
Rank
#1817
Among tracked npm listings

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: 47 weekly downloads as of Oct 18, 2026, +1467% over 90 days.@route-resource-preload/webpack-pluginWeekly downloads on npm · Last 90 days47downloads / week+1467% over 90 days020406080100120140Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@route-resource-preload/webpack-plugin weekly downloads on npm, last 90 days: 47 weekly downloads as of Oct 18, 2026, +1467% over 90 days.

7/30/90-day growth

@route-resource-preload/webpack-plugin weekly downloads growth on npm: -63.3% over 7 days, +88.0% over 30 days, +1467% over 90 days.@route-resource-preload/webpack-pluginWeekly downloads growth on npm47downloads / week now7-day growth-81 weekly downloads-63.3%30-day growth+22 weekly downloads+88.0%90-day growth+44 weekly downloads+1467%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@route-resource-preload/webpack-plugin weekly downloads growth on npm: -63.3% over 7 days, +88.0% over 30 days, +1467% over 90 days.

Ranking history

@route-resource-preload/webpack-plugin npm ranking history: currently #1817 (by weekly downloads).@route-resource-preload/webpack-pluginnpm ranking · by weekly downloads · Last 90 days#1817current rank#1780#1785#1790#1795#1800#1805#1810#1815#1820Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
@route-resource-preload/webpack-plugin npm ranking history: currently #1817 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 92, #1 (overall #1,821)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins251 listings · 13 pages · page 7, #6 (overall #126)
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 (122)
Recent weekly downloads observations for @route-resource-preload/webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
47+14
33-16
49-21
70-20
90-19
1090
109-19
128+10
118+15
103+31
72+18
54+17
37-2
39—

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 Oct 20, 2026. See the methodology.