Skip to content

docs: update react plugin description#21741

Open
sapphi-red wants to merge 1 commit intovitejs:mainfrom
sapphi-red:docs/update-react-plugin-description
Open

docs: update react plugin description#21741
sapphi-red wants to merge 1 commit intovitejs:mainfrom
sapphi-red:docs/update-react-plugin-description

Conversation

@sapphi-red
Copy link
Member

@sapphi-red sapphi-red commented Mar 3, 2026

Update description for plugin-react for the new version: https://github.com/vitejs/vite-plugin-react/releases/tag/plugin-react%406.0.0-beta.0

@sapphi-red sapphi-red added the documentation Improvements or additions to documentation label Mar 3, 2026
@sapphi-red sapphi-red marked this pull request as ready for review March 3, 2026 08:29
### [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react-swc)

Replaces Babel with [SWC](https://swc.rs/) during development. During production builds, SWC+Oxc Transformer are used when using plugins, and Oxc Transformer only otherwise. For big projects that require custom plugins, cold start and Hot Module Replacement (HMR) can be significantly faster, if the plugin is also available for SWC.
Replaces Oxc with [SWC](https://swc.rs/) during development for SWC plugin usage. During production builds, SWC+Oxc Transformer are used when using plugins. For big projects that require custom plugins, cold start and Hot Module Replacement (HMR) can be significantly faster, if the plugin is also available for SWC.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly maybe we should no longer mention the plugin here given #21633 but I don't think we have to decide in this PR if we're unsure.

@sapphi-red sapphi-red added this to the 8.0 milestone Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants