Skip to content

Commit 3c961ec

Browse files
docs: fix redundant "yet" and add missing punctuation (vitejs#20547)
1 parent 1f23554 commit 3c961ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/changes/hotupdate-hook.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ We're planning to deprecate the `handleHotUpdate` plugin hook in favor of [`hotU
99
Affected scope: `Vite Plugin Authors`
1010

1111
::: warning Future Deprecation
12-
`hotUpdate` was first introduced in `v6.0`. The deprecation of `handleHotUpdate` is planned for a future major. We don't yet recommend moving away from `handleHotUpdate` yet. If you want to experiment and give us feedback, you can use the `future.removePluginHookHandleHotUpdate` to `"warn"` in your vite config.
12+
`hotUpdate` was first introduced in `v6.0`. The deprecation of `handleHotUpdate` is planned for a future major. We don't recommend moving away from `handleHotUpdate` yet. If you want to experiment and give us feedback, you can use the `future.removePluginHookHandleHotUpdate` to `"warn"` in your vite config.
1313
:::
1414

1515
## Motivation
1616

17-
The [`handleHotUpdate` hook](/guide/api-plugin.md#handlehotupdate) allows to perform custom HMR update handling. A list of modules to be updated is passed in the `HmrContext`
17+
The [`handleHotUpdate` hook](/guide/api-plugin.md#handlehotupdate) allows to perform custom HMR update handling. A list of modules to be updated is passed in the `HmrContext`.
1818

1919
```ts
2020
interface HmrContext {

0 commit comments

Comments
 (0)