Commit 62fff46
committed
refactor(useForm): improve Svelte 5 runes compatibility
Refactor useForm to use separate reactive variables and dynamic property definitions for better Svelte 5 runes compatibility. Update method signatures for improved type safety and add setStore, resetAndClearErrors, and enhanced submit method. Simplify state management and ensure correct reactivity for form state and errors.1 parent 8ba293e commit 62fff46
1 file changed
+213
-182
lines changed
0 commit comments