/svelte-form-action-ts

A small example, showing off how to handle SvelteKit form actions in a fairly type safe, and clean way

Primary LanguageSvelte

Actions + Zod

Super, super simple example showing how to efficiently parse formData in a form action.

The package you need is here: pnpm add zod-form-data

Files of note