2min chapter

Svelte Radio cover image

SvelteKit-superforms with Andreas Söderlund

Svelte Radio

CHAPTER

Superforms: A Simple Way to Preserve Types

The form action, it receives all the form data in there you can do with it what you will just like you would in any kind of backend situation. So I guess Superforms kind of ties all this together in a way so you don't really have to worry that much about validation and all of this stuff. Like how does it work? Yes, the schema is the really the heart of everything. And then on the client, I'm using this pattern of taking the data from what you send in a page data and then just you sending it into this super form function and you get the result.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode