The Vite plugin for React, described as an all-in-one solution for React projects using Vite. It provides packages including `@vitejs/plugin-react`, `@vitejs/plugin-react-swc`, and `@vitejs/plugin-rsc` to support different React tooling needs.
Project status
- Actively maintained: The repo is seeing recent activity (upstream push on 2026-09-02) and continues to publish new updates in 2026, including plugin-react 6.1.1 and plugin-rsc 0.5.34.
- Update cadence: Updates appear fairly regular, with plugin-react releases in August 2026 (6.0.x and 6.1.x) spaced by roughly 1 to 2 weeks, and plugin-rsc updates also clustering in late July and August 2026.
AI summary generated
Recent updates
plugin-react@6.1.1
plugin-react@6.1.1 adds a new React Compiler option, compiler.logDiagnostics, to control whether recoverable diagnostics are emitted through Vite. It also changes how sourcemaps are determined for the React Compiler transform, using the environment sourcemap settings rather than the top-level Vite option (fixing issues with builder.sharedPlugins).
BreakingFeaturesplugin-react@6.1.0
plugin-react@6.1.0 introduces an experimental React Compiler integration behind a new `compiler` option on `@vitejs/plugin-react`. When enabled, the plugin dynamically loads `oxc-transform-react` and applies its transform to matching client code, with React compiler runtime dependency optimization.
Featuresplugin-rsc@0.5.34
plugin-rsc@0.5.34 adds support for mixing inline and file-level directives in RSC modules (inline "use cache" within file-level "use server" and vice versa), plus support for inline directive methods. The diff largely consists of new/expanded example apps and updated Playwright E2E coverage around cached server references, directive mixing, and a new persistent use cache example.
Featuresplugin-rsc@0.5.33
plugin-rsc@0.5.33 enhances React Server Components transform capabilities, including more flexible filtering/AST support for export wrapping, proxy export handling, and inline directive hoisting. It also adds stricter validation around "use server" directives and aligns transform API typings with Vite AST nodes. The release notes also mention improvements around entry point usage and action routing examples.
BreakingFeaturesplugin-react-swc@4.3.3
plugin-react-swc@4.3.3 adds a compatibility patch for Vite's experimental bundled dev mode. The plugin now detects `config.experimental.bundledDev` and alters how React Refresh preamble code is injected so HMR/refresh keeps working in that mode.
plugin-react@6.0.5
plugin-react@6.0.5 fixes an issue introduced in v6.0.3 where the React compiler preset filter became non-linear, leading to a performance regression. The filter logic has been changed back to a linear form to avoid the regression.
plugin-rsc@0.5.32
plugin-rsc@0.5.32 is a small maintenance release with a single noted fix around preserving server reference metadata compatibility. The code diff shows a compatibility-oriented change in the RscPluginManager API surface, plus standard version/changelog updates.
plugin-rsc@0.5.31
plugin-rsc@0.5.31 adds support for registering server functions via plugins, alongside several RSC bug fixes and dependency updates (including a React Router security-related bump). The code diff is dominated by documentation and example framework changes, plus CI workflow adjustments to support a PR-driven release flow for plugin-rsc.
SecurityFeaturesplugin-rsc@0.5.30
plugin-rsc@0.5.30 mainly fixes RSC-related HMR edge cases and improves module resolution for the virtual client package. It also adds documentation clarification for PPR render passes, plus new example(s) and related tests.
plugin-react@6.0.4
plugin-react@6.0.4 is a patch release that claims to fix the Vite dev error "$RefreshSig$ is not defined" when running with NODE_ENV=production. The provided code diff shows only version and changelog metadata updates.
plugin-react-swc@4.3.2
plugin-react-swc@4.3.2 updates the React SWC plugin so React Refresh wrapping is avoided for modules that do not contain JSX. The commit also includes an SWC core dependency bump and some internal refactoring to how JSX presence is detected.
plugin-rsc@0.5.29
The release notes for plugin-rsc@0.5.29 do not include any details in the provided text, and instead direct readers to the package CHANGELOG.md for information. As a result, this release cannot be analyzed for new features, bug fixes, breaking changes, security, or dependency updates from the supplied release notes alone.
plugin-rsc@0.5.28
plugin-rsc@0.5.28 introduces a split between the RSC runtime APIs for the server and client environments, and adds an optimization related to `createFromReadableStream` behavior on the `rsc` environment. The release also includes multiple RSC-related bug fixes and dependency updates, plus documentation alignment for the runtime API surface.
Featuresplugin-react@6.0.3
plugin-react@6.0.3 ships with no publisher release notes. The code diff shows a behavior adjustment related to React preamble generation in bundled dev mode, plus a range of dependency bumps in dev and playground code.
plugin-rsc@0.5.27
plugin-rsc@0.5.27 adds support for handling `export *` re-exports correctly inside modules marked with `use client` and `use server`, including conflict name handling. It also updates dependency ranges (notably for rolldown) and bumps some dev dependency versions.
Featuresplugin-react-swc@4.3.1
plugin-react-swc@4.3.1 is a small release that (per the release notes) addresses esbuild warnings when using Vite 8. However, the provided code diff shows only metadata updates (package version and changelog entry), with no actual source code changes visible.
plugin-react@6.0.2
plugin-react@6.0.2 expands TypeScript typings for the `reactCompilerPreset` option by allowing all preset options. Previously, only the `compilationMode` and `target` options were reflected in the type definitions.
Featuresplugin-rsc@0.5.26
plugin-rsc@0.5.26 mostly updates dependencies (notably React to 19.2.6 and rolldown pluginutils) and improves/extends RSC-related CSS HMR coverage in the e2e suite using a new starter-extra fixture. The GitHub release notes themselves do not list specifics, but the package changelog in the repo indicates this release is primarily dependency and test work.
plugin-rsc@0.5.25
plugin-rsc@0.5.25 focuses on fixing React Server Components (RSC) CSS HMR behavior, specifically around stylesheet link precedence and cssCodeSplit=false. It also updates multiple non-major dependencies (including Vite 8.0.10) to address upstream issues and reduce warning noise.
plugin-rsc@0.5.24
plugin-rsc@0.5.24 includes a fix to the RSC hoist transform to correctly preserve generator syntax when transforming inline server directives. The included changelog also indicates a non-major dependency refresh. Most other changes in this diff appear to be build tooling (CI/pnpm) and repo-wide dev dependency updates rather than plugin runtime behavior.