You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 12eddea
Browse filesBrowse the repository at this point in the historyBrowse files
return`Could not Fast Refresh ("${allExportsAreComponentsOrUnchanged}" export is incompatible). Learn more at __README_URL__#consistent-components-exports`
638
+
for(constkeyinprevExports){
639
+
if(ignoredExports.includes(key))continue
640
+
if(!(keyinnextExports)){
641
+
return`Could not Fast Refresh (export "${key}" removed)`
Copy file name to clipboardExpand all lines: packages/plugin-react/CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,10 @@
2
2
3
3
## Unreleased
4
4
5
+
### Fix HMR for compound components ([#1484](https://github.com/vitejs/vite-plugin-react/pull/1484))
6
+
7
+
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.
8
+
5
9
### Fix `compiler.logDiagnostics` option not working ([#1483](https://github.com/vitejs/vite-plugin-react/pull/1483))
6
10
7
11
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`.
0 commit comments