Video details

Svelte 101: Fetching data in Svelte component and the {#await} block

Svelte
04.14.2021
English

Let's take a look at how we can fetch data in a Svelte component.
Using the same idea, we can simplify our code by using the {#await} block.
---
đź’»
REPL https://svelte.dev/repl/91eff67a9f4c40f1a7aaf960aa1d5a3a
đź“š
Related Resources Svelte https://svelte.dev Svelte REPL https://svelte.dev/repl Svelte Tutorial: Await blocks https://svelte.dev/tutorial/await-blocks Dog CEO API https://dog.ceo/dog-api/
🥰 Support me https://www.buymeacoffee.com/lihautan
đź”—
Want to learn more from me? Check out these links:
Twitter: https://twitter.com/lihautan Blog: https://lihautan.com/ Newsletter: https://lihautan.com/newsletter
#svelte #svelte101
Thanks for watching 🥰 -- with love, Li Hau