Crafting Magical Spells Using Svelte's Powerful Reactivity

Описание к видео Crafting Magical Spells Using Svelte's Powerful Reactivity

Abstract and reuse reactive logic across files and components with Svelte runes.

🔴 Patreon:   / joyofcode  
𝕏 Twitter:   / joyofcodedev  
💬 Discord:   / discord  
🔥 Uses: https://www.joyofcode.xyz/uses

🔖 Timestamps

0:00 Intro
0:35 Persisting State Using Local Storage
3:06 Creating A Reusable Local Storage Function
4:35 Moving The Code Outside The Component
5:27 Improving The User Experience With Types
6:34 Creating A Reusable Local Storage Class
9:35 Adding Types To The Local Storage Class
10:23 Using A Factory Function
10:54 Using Get And Set Methods
13:41 Outro

#joyofcode #sveltekit #svelte

Комментарии

Информация по комментариям в разработке