Skip to content

Commit fdc07f0

Browse files
committed
refactor(useForm): simplify and modernize form logic
Refactors the useForm implementation to use a Proxy-based approach for form state and methods, improving Svelte 5 runes compatibility and reducing boilerplate. Removes the InertiaFormProps interface in favor of a single InertiaFormRunes type, updates method signatures for better type safety, and streamlines state management for form data, errors, and status flags.
1 parent a897d2e commit fdc07f0

File tree

1 file changed

+150
-302
lines changed

1 file changed

+150
-302
lines changed

0 commit comments

Comments
 (0)