pixelmund / svemix

The Full-Stack addition to SvelteKit. Write your server code inside svelte files, handle sessions, forms and SEO easily.
https://svemix.com
MIT License
337 stars 16 forks source link

Better form handling #20

Closed pixelmund closed 2 years ago

pixelmund commented 2 years ago

This PR fixes #12 by saving the current form state in the url query if javascript is disabled, i don't know if this is the right approach but this was definetly the easiest one. The other solution would be to enforce users to setup sessions inside handle.

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/svemix/svemix/4vvdPhdrUuzwaHhsQpazohmcDT7b
✅ Preview: https://svemix-git-better-form-handling-svemix.vercel.app