Svelte @svelte.dev · Dec 12

Day 12 — send custom types across the network boundary in SvelteKit, whether it's a class containing reactive state, a class used by your database ORM library, or whatever. Just export a `transport` object from your `hooks.js` 🎁 docs svelte.dev/docs/kit/hoo... 🎁 demo stackblitz.com/edit/sveltej...

88 likes 4 replies

?

Replies

Thiago · Dec 12

The functionality is great, but there is still a lot of undocumented behavior.

Jeppe Reinhold 🇩🇰 · Dec 12

Why is this encode/decode and not serialize/deserialize like everyone else calls it?

Daniel 🇪🇺🇺🇦 · Dec 12

Obviously I'm missing something, but what exactly can be achieved with this feature?

Svelte · Dec 13

Day 13 — a gift for the robot friend in your life. We now publish llms.txt files containing up-to-the-minute documentation for Svelte, SvelteKit and the CLI in AI-digestible form 🎁 docs svelte.dev/docs/llms 🎁 demo (a snake game made by Sonnet 3.5) svelte.dev/playground/0...