Skip to content

Commit 2ddeead

Browse files
authored
docs: update link to svelte-hmr (#12893)
1 parent 3aa2127 commit 2ddeead

File tree

1 file changed

+1
-1
lines changed
  • packages/create-vite/template-svelte

1 file changed

+1
-1
lines changed

packages/create-vite/template-svelte/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ It is likely that most cases of changing variable types in runtime are likely to
3535

3636
**Why is HMR not preserving my local component state?**
3737

38-
HMR state preservation comes with a number of gotchas! It has been disabled by default in both `svelte-hmr` and `@sveltejs/vite-plugin-svelte` due to its often surprising behavior. You can read the details [here](https://github.com/rixo/svelte-hmr#svelte-hmr).
38+
HMR state preservation comes with a number of gotchas! It has been disabled by default in both `svelte-hmr` and `@sveltejs/vite-plugin-svelte` due to its often surprising behavior. You can read the details [here](https://github.com/sveltejs/svelte-hmr/tree/master/packages/svelte-hmr#preservation-of-local-state).
3939

4040
If you have state that's important to retain within a component, consider creating an external store which would not be replaced by HMR.
4141

0 commit comments

Comments
 (0)