# What changed in @rsbuild/plugin-react

> 3 changes in @rsbuild/plugin-react 2 from its official release notes, upgrade guides and advisories: 1 new APIs and options. Each one cited. Sources checked 2026-10-25. HTML: https://unstale.sh/npm/@rsbuild/plugin-react/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @rsbuild/plugin-react 2

### New APIs and options

- Adds the reactCompiler option to @rsbuild/plugin-react. (2.1.0) — [release notes](https://github.com/web-infra-dev/rsbuild/blob/456ef2094777ef78bef6ff7884ce2ffeb537a333/packages/plugin-react/CHANGELOG.md#210-2026-06-18)

### Fixes and other changes

- Applies reactCompiler only to web environments. (2.1.1) — [release notes](https://github.com/web-infra-dev/rsbuild/blob/456ef2094777ef78bef6ff7884ce2ffeb537a333/packages/plugin-react/CHANGELOG.md#211-2026-09-28)
- Checks the Rspack version for reactCompiler. (2.1.0) — [release notes](https://github.com/web-infra-dev/rsbuild/blob/456ef2094777ef78bef6ff7884ce2ffeb537a333/packages/plugin-react/CHANGELOG.md#210-2026-06-18)
