Commit 0904ca9
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 a351d97 commit 0904ca9
1 file changed
+213
-182
lines changed
0 commit comments