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 Stale · Oct 17, 2026

@route-resource-preload/webpack-plugin has 33 recorded weekly downloads on npm, an increase of 32.0% over the past 30 days, ranking #1791 of 2,256 tracked listings.

Weekly downloads
33
Official API · Oct 17, 2026
7-day growth
-72.0%
-85 weekly downloads
30-day growth
+32.0%
+8 weekly downloads
90-day growth
+1000%
+30 weekly downloads
Rank
#1791
Among tracked npm listings

About @route-resource-preload/webpack-plugin

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

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

中文文档

Comparison

Based-on-react.lazy-normal-loading-effect.gif

Based-on-route-resource-preload-effect.gif

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 ?

• Split modules loads as needed, improving the first screen loading experience of your App. • Minimize dynamic component loading time and providing the best user experience. • Support automatic the preloading of resources ( JS / Component / Module-Federation / UMD / Svg / Png , Etc) and providing the best user experience. • Support manually to preload. • Support typescript. • Support React .

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 when to preload in more detail • Support preload Module-Federation • Support More types of resource (image/font/svg/css/js/...)

Online Demo Test

Component | Normal Lazy Load(ms) | Preload (ms)

Simple Component (one-resource) | 150 | 1 Complex Component (six-resource) | 350 | 10

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

Using in react

Method 1 - Manually To Preload Single Component Based on Dynamic

Method 2 - Manually To Preload Multiple Components

  1. Step 1: First, you need add plugin in your build config.

  2. Step 2: Create a Preloader and run

Method 3 - Automatic Preloading.

  1. Step 1: First, you need add plugin in your build config.

  2. Step 2: Dynamic import component and render PreloadLink

API

• #### dynamic - Split your component code and load it dynamically

Param | Description | Type | Default Value | necessary

loader | dynamic import module | () => Promise>>| - | ✅ loading | A spinner for displaying loading state | ComponentType | - | ❌ submodule | maybe you didn't export default, you need it | string | - | ❌ visible | whether to render immediately after the components in the view are preloaded | boolean | true | ❌ suspense | use react for displaying loading state | boolean | - | ❌

dynamic will return a HOC with onEnd prop, which will call back after the component is dynamically rendered to adapt to complex and changeable business scenarios, such as custom loading package elements/or computing component rendering time-consuming, etc.

• #### Preloader - Manually to preload based on flag

Param | Description | Type | Default Value | necessary

publicPath | yout server publicPath | string | - | ❌

Preloader's publicPath is the same as RouteResourcePreloadPlugin's publicPath

• #### PreloadLink - Automatic the preloading of resources based on flag

Props | Description | Type | Default Value | necessary

flag | the preloading flag | string | - | ✅ children | children ReactNode | ReactNode | - | ✅ action | trigger preload action | string (init / inview / hover) | hover | ❌ onClick | PreloadLink click event | () => void | - | ❌ className | PreloadLink classname | string | - | ❌ publicPath | yout server publicPath | string | - | ❌

PreloadLink's publicPath is the same as RouteResourcePreloadPlugin's publicPath

Plugin

• #### Webpack-RouteResourcePreloadPlugin RouteResourcePreloadPlugin's publicPath is the same as PreloadLink's publicPath

Params | Description | Type | Default Value | necessary

modulePreloadMap | project's components(modules) | modulePreloadMap Object | - | ❌ mfPreloadMap | module-federation's components(modules) | mfPreloadMap Object | - | ❌ assetPreloadMap | static assets | assetPreloadMap Object | - | ❌ publicPath | your server publicPath | string | - | ❌

Others

• #### init / inview / hover value | Description

init | Trigger preload after PreloadLink rendering inview | Trigger preload after PreloadLink in the view hover | Trigger preload after your mouse hover in the PreloadLink

• #### modulePreloadMap Object • #### mfPreloadMap Object • #### assetPreloadMap Object

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

7/30/90-day growth

@route-resource-preload/webpack-plugin weekly downloads growth on npm: -72.0% over 7 days, +32.0% over 30 days, +1000% over 90 days.@route-resource-preload/webpack-pluginWeekly downloads growth on npm33downloads / week now7-day growth-85 weekly downloads-72.0%30-day growth+8 weekly downloads+32.0%90-day growth+30 weekly downloads+1000%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@route-resource-preload/webpack-plugin weekly downloads growth on npm: -72.0% over 7 days, +32.0% over 30 days, +1000% over 90 days.

Ranking history

@route-resource-preload/webpack-plugin npm ranking history: currently #1791 (by weekly downloads).@route-resource-preload/webpack-pluginnpm ranking · by weekly downloads · Last 90 days#1791current rank#1784#1786#1788#1790#1792#1794Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
@route-resource-preload/webpack-plugin npm ranking history: currently #1791 (by weekly downloads).

Listing placement

All npm2,256 listings · 113 pages · 1,130 shown · page 90, #12 (overall #1,792)
All npm: every listing in weekly downloads order

Listing placement

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

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