Back to Explore

vitejs/vite-plugin-react

GitHub
11 updates · last 90 days1 watchersOpen source

Last release:

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

  • The vitejs/vite-plugin-react source appears actively maintained, with an upstream push today (2026-07-23) and very recent package updates (for example, plugin-react@6.0.4 on 2026-07-22).
  • The apparent plugin-react update cadence is roughly every few weeks (examples: 6.0.2 on 2026-05-14, 6.0.3 on 2026-06-23, 6.0.4 on 2026-07-22), suggesting steady ongoing work rather than a stalled project.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • plugin-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.

    Features
  • plugin-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.

    Features
  • plugin-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.

    Features
  • plugin-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.

  • plugin-rsc@0.5.23

    plugin-rsc@0.5.23 is a small release focused on dependency bumps (React to 19.2.5, TypeScript to 6.0.2) and added test coverage for server action closure member binding. The provided GitHub release notes do not list any changes directly, but the repo changelog for 0.5.23 indicates no breaking changes.

  • plugin-rsc@0.5.22

    plugin-rsc@0.5.22 adds improved RSC support for hoisting/binding accessed member expressions, and introduces explicit TypeScript types for the RSC browser/edge/server APIs. The changelog also calls out breaking changes related to React/Babel removal and dropping support for Vite 7 and below. The diff shows substantial internal test/fixture work and some notable API surface typing adjustments.

    BreakingFeatures
  • plugin-react@6.0.1

    plugin-react@6.0.1 is a small metadata-focused release. It expands the peer dependency range for @rolldown/plugin-babel to also allow version ^0.2.0.

  • plugin-react@6.0.0

    plugin-react@6.0.0 removes Babel integration from the plugin, relying instead on Vite 8+ for React Refresh transform handling and adding a helper to configure React Compiler via an external Babel preset. It also drops support for Vite 7 and below. As a result, the public configuration surface around `babel` is effectively removed, and advanced Babel hook integrations are no longer available.

    BreakingFeatures