|
|
|
@ -21,12 +21,7 @@
|
|
|
|
Svelte is a radical new approach to building user interfaces. Whereas traditional
|
|
|
|
Svelte is a radical new approach to building user interfaces. Whereas traditional
|
|
|
|
frameworks like React and Vue do the bulk of their work in the <em>browser</em>, Svelte
|
|
|
|
frameworks like React and Vue do the bulk of their work in the <em>browser</em>, Svelte
|
|
|
|
shifts that work into a
|
|
|
|
shifts that work into a
|
|
|
|
<em>compile step</em> that happens when you build your app.
|
|
|
|
<em>compile step</em> that happens when you build your app. No more virtual DOM!
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Instead of using techniques like virtual DOM diffing, Svelte writes code that surgically
|
|
|
|
|
|
|
|
updates the DOM when the state of your app changes.
|
|
|
|
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<p>
|
|
|
|
|