MENU

Fun & Interesting

Understand How Data Flows Through SvelteKit

Joy of Code 21,242 2 years ago
Video Not Working? Fix It Now

Learn how data weaves and flows in your SvelteKit app. ๐Ÿ‘‰๏ธ Support โ–ถ๏ธ YouTube Membership https://youtube.com/@joyofcodedev/join ๐Ÿ”ด Patreon https://www.patreon.com/joyofcode ๐Ÿ‘‰๏ธ Links: SvelteKit Data Flow ๐Ÿ”— https://joyofcode.xyz/sveltekit-data-flow ๐Ÿ‘‰๏ธ Uses: ๐Ÿ”— https://joyofcode.xyz/uses ๐Ÿ‘‰๏ธ Socials: ๐Ÿฆ๏ธ https://twitter.com/joyofcodedev ๐Ÿ’ฌ https://discord.gg/k6ZpwAKwwZ ๐Ÿ”– Timestamps 0:00 Intro 0:37 What Each File Related To Routing Does 3:20 Going Through My Setup 4:09 Understanding The Order In Which Things Run 7:03 SvelteKit Does Server-Side Rendering (SSR) And Client-Side Routing (CSR) 9:34 How Data Is Passed Through Routes 13:01 Accessing Parent Layout Data 14:25 $app/stores 18:54 Adding Custom Data To A Request 20:32 Standalone Endpoints 21:38 Form Actions 23:44 SvelteKit Data Flow Cheat Sheet 25:28 Outro #svelte #sveltejs #dataflow

Comment