Svelte For Dummies In a Hurry

· algiegray's blog


Key Takeaways #

  1. Svelte is a simple and pragmatic framework ideal for developers who want to get things done quickly.
  2. Svelte apps are built using components, which manage state and automatically update the DOM when changes occur.
  3. Svelte follows the single file component structure, keeping JavaScript logic, HTML templates, and CSS rules together.

Svelte Fundamentals #

Building a To-Do App with Svelte #

"Svelte apps are components or collections of components which keep track of State AKA data and automatically update the Dom when the data is changed by various user or server events."

"Spell components follow the single file structure where the JavaScript Logic the HTML template and the CSS rules are all stored under the same file."

"what you might not realize is that you can simply push your new task into the list and the framework will take care of all the derived values effect functions and dumb updates for you."

Summary for: Youtube