Skip to content
PluginStats

@netlify/vite-plugin-react-router weekly downloads statistics

By netlify (6 listings) · npm · Vite plugins

React Router 7+ Vite plugin for Netlify

View on npm Stale · Oct 17, 2026

@netlify/vite-plugin-react-router has 5,559 recorded weekly downloads on npm, a decrease of 63.5% over the past 30 days, ranking #1063 of 2,256 tracked listings.

Weekly downloads
5,559
Official API · Oct 17, 2026
7-day growth
-64.9%
-10.3K weekly downloads
30-day growth
-63.5%
-9.7K weekly downloads
90-day growth
-34.8%
-3K weekly downloads
Rank
#1063
Among tracked npm listings

About @netlify/vite-plugin-react-router

React Router Adapter for Netlify

The React Router Adapter for Netlify allows you to deploy your React Router app to Netlify.

How to use

To deploy a React Router 7+ site to Netlify, install this package:

It's also recommended (but not required) to use the Netlify Vite plugin, which provides full Netlify platform emulation directly in your local dev server:

and include the Netlify plugin in your vite.config.ts:

Your app is ready to deploy to Netlify.

Deploying to Edge Functions

By default, this plugin deploys your React Router app to Netlify Functions (Node.js runtime). You can optionally deploy to Netlify Edge Functions (Deno runtime) instead.

First, toggle the edge option:

Second, you must provide an app/entry.server.tsx (or .jsx) file. Create a file with the following content:

[!TIP]

If you prefer to avoid a @ts-ignore here, add this to vite-env.d.ts in your project root (or anywhere you prefer):

Finally, if you have your own Netlify Functions (typically in netlify/functions) for which you've configured a path, you must exclude those paths to avoid conflicts with the generated React Router SSR handler:

Moving back from Edge Functions to Functions

To switch from Edge Functions back to Functions, you must:

  1. Remove the edge: true option from your vite.config.ts 2. Delete the app/entry.server.tsx file (React Router will use its default Node.js-compatible entry)

Edge runtime

Before deploying to Edge Functions, review the Netlify Edge Functions documentation for important details:

• Runtime environment - Understand the Deno runtime • Supported Web APIs - Check which APIs are available • Limitations - Be aware of resource limits and constraints

Load context

This plugin automatically includes all Netlify context fields on loader and action context.

If you're using TypeScript, AppLoadContext is automatically aware of these fields (via module augmentation).

For example:

If you've opted in to the future.v8_middleware flag, you can still use the above access pattern for backwards compatibility, but loader and action context will now be an instance of the type-safe RouterContextProvider. Note that this requires requires v2.0.0+ of @netlify/vite-plugin-react-router.

For example:

[!IMPORTANT]

Note that in local development, netlifyRouterContext requires Netlify platform emulation, which is provided seamlessly by @netlify/vite-plugin (or Netlify CLI - up to you).

Middleware context

React Router introduced a stable middleware feature in 7.9.0.

To use middleware, opt in to the feature via future.v8_middleware and follow the docs. Note that this requires requires v2.0.0+ of @netlify/vite-plugin-react-router.

To access the Netlify context specifically, you must import our RouterContext instance:

[!IMPORTANT]

Note that in local development, netlifyRouterContext requires Netlify platform emulation, which is provided seamlessly by @netlify/vite-plugin (or Netlify CLI - up to you).

Description from the npm listing.

  • react-router
  • vite-plugin
  • netlify

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

@netlify/vite-plugin-react-router weekly downloads on npm, last 90 days: 5,559 weekly downloads as of Oct 17, 2026, -34.8% over 90 days.@netlify/vite-plugin-react-routerWeekly downloads on npm · Last 90 days5,559downloads / week-34.8% over 90 days05K10K15K20K25K30KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 17, 2026 · 88 observations · Updated Oc…pluginstats.com
@netlify/vite-plugin-react-router weekly downloads on npm, last 90 days: 5,559 weekly downloads as of Oct 17, 2026, -34.8% over 90 days.

7/30/90-day growth

@netlify/vite-plugin-react-router weekly downloads growth on npm: -64.9% over 7 days, -63.5% over 30 days, -34.8% over 90 days.@netlify/vite-plugin-react-routerWeekly downloads growth on npm5,559downloads / week now7-day growth-10,272 weekly downloads-64.9%30-day growth-9,678 weekly downloads-63.5%90-day growth-2,972 weekly downloads-34.8%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@netlify/vite-plugin-react-router weekly downloads growth on npm: -64.9% over 7 days, -63.5% over 30 days, -34.8% over 90 days.

Ranking history

@netlify/vite-plugin-react-router npm ranking history: currently #1063 (by weekly downloads).@netlify/vite-plugin-react-routernpm ranking · by weekly downloads · Last 90 days#1063current rank#1059#1060#1061#1062#1063#1064#1065Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
@netlify/vite-plugin-react-router npm ranking history: currently #1063 (by weekly downloads).

Listing placement

All npm2,256 listings · 113 pages · 1,129 shown · page 54, #3 (overall #1,063)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins250 listings · 13 pages · page 10, #5 (overall #185)
Vite 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 @netlify/vite-plugin-react-router
Date (UTC)Weekly downloadsChange vs. previous
5,559-942
6,501-558
7,059-4.6K
11,630-2.5K
14,1390
14,139-1.7K
15,881+50
15,831-527
16,358+1.5K
14,845+2.7K
12,100+1.2K
10,877-1.2K
12,063+2.4K
9,643—

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/@netlify/vite-plugin-react-router. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.