Skip to content

release: [email protected] - #1491

Merged
sapphi-red merged 1 commit into
mainfrom
release-plugin-react-6.1.2-37293170828
Oct 5, 2026
Merged

sapphi-red merged 1 commit into
mainfrom
release-plugin-react-6.1.2-37293170828

Conversation

@vite-release-bot

Copy link
Copy Markdown
Contributor

plugin-react release PR generated by the Prepare Release workflow: https://github.com/vitejs/vite-plugin-react/actions/runs/37293170828

Changelog

Fix HMR for compound components (#1484)

Adding or removing a component from a compound component was not handled, creating stale updates. Doing this now triggers hmr invalidate on the file and propagates the invalidation to importers.

Fix compiler.logDiagnostics option not working (#1483)

With oxc-transform-react >= 0.148, the logDiagnostics was not working. This version fixes it and requires oxc-transform-react >= 0.152 as a peer dependency if you are using the compiler option. compiler.logDiagnostics option is now deprecated and should be swapped for the builtin compiler.reportDiagnostics.

Disable refresh for non-jsx with compiler enabled (fix #1478) (#1485)

When the compiler was enabled, TS files could trigger fast refresh which would cause runtime errors. The logic now follows what the builtin oxc plugin in Vite does.

@sapphi-red
sapphi-red merged commit ac47648 into main Oct 5, 2026
18 of 19 checks passed
@sapphi-red
sapphi-red deleted the release-plugin-react-6.1.2-37293170828 branch October 5, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[plugin-react] Native React Compiler injects Fast Refresh registrations into Web Worker .ts modules

1 participant