Svelte Stores

Опубликовано: 26 Февраль 2023
на канале: Jeffrey Codes
1,080
45

This is part of the Intro to SvelteKit series, but you don't need to have watched any previous videos to understand this one!

0:00 Intro
0:47 Counter without stores
1:11 Limitations in sharing data between components
2:36 Writable Stores
3:44 Variables vs Stores
4:13 .set and .update methods
5:22 Separate stores.ts file
6:01 Solving a Typescript issue
6:31 Sharing data
8:23 Derived Stores
10:22 Advanced Derived Stores: Multiple dependencies, delayed set
10:58 Readable and readonly stores
11:49 Custom stores
12:13 Conclusion

Want to work with me? https://www.jeffreybiles.com/consulting/

Twitter:
  / jeffreybiles  
  / jeffrey_codes