🌐Svelte
Also known as SvelteKit, Svelte.js
A front-end framework. It turns your parts into small code that runs fast.
Think of it like
Think of it like a cook who gets the food ready the night before. At dinner, there is less to do.
Example
Svelte was created by Rich Harris and first released in 2016. Jack rebuilds a slow widget with it, and the script shrinks from 90 KB to 15 KB.
Why it matters
Less code in the browser means faster pages, especially on cheap phones.
Definition
Common mistake
Key takeaways
- 1Work at build time. A compiler does the heavy part.
- 2Small output. Less JavaScript to download.
- 3Looks like HTML. Simple component files.