HMR and forms
#7523
Replies: 2 comments 2 replies
-
Without code it's hard to tell. You may be misusing keep-all or something else is triggering it to be overwritten after the update. keep-all might not be the best experience for all changes and you have to use it carefully and keep it in mind while developing that updates may leave you in an inconsistent state: https://github.com/sveltejs/svelte-hmr/tree/master/packages/svelte-hmr#preservation-of-local-state |
Beta Was this translation helpful? Give feedback.
2 replies
-
Also, you might want to consider writing GUI form tests (using playwright) instead of typing test data into forms all over again. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any way to keep form data in place with Svelte's HMR?
I notice that a simple change on any element will just wipe all the forms content... even with
@hmr:keep-all
in place.Beta Was this translation helpful? Give feedback.
All reactions