In this introduction post about Svelte, learn the basics of Svelte. Learn through practical examples in this post and get a good understanding of Svelte for your next project.
We will learn about setting up Sveltekit and Vitest for writing tests and we will build an async component using test-driven development (TDD) methodology in this post.
Learn about the Sleep function from the time package to pause the execution of the thread. Also learn to make the interesting typewriter effect in the console using the sleep method
Converting string to bytes can be done using the []bytes() method
Svelte for loop are essential things to learn. Learn about the different ways you can use each block in svelte to make things easier in your development of svelte apps
Learn how to make an API call in svelte with loading and error states. Fetching data from the API is an essential part of any application so learn how Svelte makes it easy.
Learn about the basics of web 3.0 and how to create your wallet. Connect your wallet with one of the web 3.0 sites and explore the next iteration of the web.
We will build the Contact Us page with SvelteKit and integrate it with Supabase. We will use the Carbon components to create the input fields and then store the data on the contact page to the Supabase table.
onMount provides a way to run a function when the component is loaded to the DOM. This can be used to initialize values, calling API to load some data, perform actions which needs to run only once.
In this article, we will learn how to make use of derived store from Svelte.