Skip to content

Commit 01f1e68

Browse files
committed
Simplify changelog
1 parent 1c5a528 commit 01f1e68

File tree

3 files changed

+10
-16
lines changed

3 files changed

+10
-16
lines changed

packages/plugin-react-oxc/CHANGELOG.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22

33
## Unreleased
44

5-
### Add `filter` for rolldown-vite
5+
### Add `filter` for rolldown-vite [#470](https://github.com/vitejs/vite-plugin-react/pull/470)
66

77
Added `filter` so that it is more performant when running this plugin with rolldown-powered version of Vite.
88

9-
### Skip HMR for JSX files with hooks
9+
### Skip HMR for JSX files with hooks [#480](https://github.com/vitejs/vite-plugin-react/pull/480)
1010

11-
The current HMR implementation was trying to all HMR files that contains either hooks or components, but this was working only for components and lead to HMR invalidation for JSX files containing hooks.
12-
13-
The best solution would have been to support HMR for hooks, but in my testing it was sometimes leading to stale updates. So this simple and reliable solution is to skip HMR for these files and have the components handle the updates, like any other hooks file.
11+
This removes the HMR warning for hooks with JSX.
1412

1513
## 0.1.1 (2025-04-10)
1614

packages/plugin-react-swc/CHANGELOG.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,17 @@
22

33
## Unreleased
44

5-
### Add `filter` for rolldown-vite
5+
### Add `filter` for rolldown-vite [#470](https://github.com/vitejs/vite-plugin-react/pull/470)
66

77
Added `filter` so that it is more performant when running this plugin with rolldown-powered version of Vite.
88

9-
### Skip HMR preamble in Vitest browser mode
9+
### Skip HMR preamble in Vitest browser mode [#478](https://github.com/vitejs/vite-plugin-react/pull/478)
1010

1111
This was causing annoying `Sourcemap for "/@react-refresh" points to missing source files` and is unnecessary in test mode.
1212

13-
### Skip HMR for JSX files with hooks
13+
### Skip HMR for JSX files with hooks [#480](https://github.com/vitejs/vite-plugin-react/pull/480)
1414

15-
The current HMR implementation was trying to all HMR files that contains either hooks or components, but this was working only for components and lead to HMR invalidation for JSX files containing hooks.
16-
17-
The best solution would have been to support HMR for hooks, but in my testing it was sometimes leading to stale updates. So this simple and reliable solution is to skip HMR for these files and have the components handle the updates, like any other hooks file.
15+
This removes the HMR warning for hooks with JSX.
1816

1917
## 3.9.0 (2025-04-15)
2018

packages/plugin-react/CHANGELOG.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22

33
## Unreleased
44

5-
### Add `filter` for rolldown-vite
5+
### Add `filter` for rolldown-vite [#470](https://github.com/vitejs/vite-plugin-react/pull/470)
66

77
Added `filter` so that it is more performant when running this plugin with rolldown-powered version of Vite.
88

9-
### Skip HMR for JSX files with hooks
9+
### Skip HMR for JSX files with hooks [#480](https://github.com/vitejs/vite-plugin-react/pull/480)
1010

11-
The current HMR implementation was trying to all HMR files that contains either hooks or components, but this was working only for components and lead to HMR invalidation for JSX files containing hooks.
12-
13-
The best solution would have been to support HMR for hooks, but in my testing it was sometimes leading to stale updates. So this simple and reliable solution is to skip HMR for these files and have the components handle the updates, like any other hooks file.
11+
This removes the HMR warning for hooks with JSX.
1412

1513
## 4.4.1 (2025-04-19)
1614

0 commit comments

Comments
 (0)