## Intro to Svelte Yet another frontend shiny thing? --- ### What is it? UI framework Compiled, not runtime No virtual DOM --- ### Move the work out of the browser, into the compiler ![](https://i.imgur.com/2hSRhxR.png) --- ### What's a virtual DOM? concept where an ideal, or “virtual”, representation of a UI is kept in memory and synced with the “real” DOM by a library such as ReactDOM. This process is called reconciliation. --- ![](https://i.imgur.com/PSG6yyL.png) https://blog.logrocket.com/what-virtual-dom-react/ --- ### Svelte's alternative: write nice declarative code ↓ _compile it_ ↓ ugly efficient imperative code ↓ _give it to the browser_
{"metaMigratedAt":"2023-06-17T11:11:59.111Z","metaMigratedFrom":"YAML","title":"Intro to Svelte","breaks":true,"description":"View the slide with \"Slide Mode\".","contributors":"[{\"id\":\"a0bd280d-03b1-4fd4-a906-6afb6498e2c5\",\"add\":1068,\"del\":274}]"}
    201 views