Post

Day 7 — the first of a few planned improvements to the site. A lot of you (rightly!) disliked the tutorial dropdown navigation, so we fixed it. You can even navigate the tutorial with JS disabled, if you're so inclined 🎁 svelte.dev/tutorial

Day 9 — warnings and errors emitted by the compiler, or while your app is running, are now accompanied by links to the docs. Over time, we'll flesh out these docs with more details about what caused the error in question 🎁 demo svelte.dev/playground/8...

because you're not serializing (aka turning something into a string of bytes). SvelteKit is doing that part. you're just giving it something it _can_ serialize. also, encode/decode are shorter

In load functions you can only return simple types for the data to be transmitted. If you try to use an object like a class, SvelteKit was not able to serialize that object. You needed to serialize the data yourself and then deserialize. Now you can just "transfer" a class via the data object.