<p>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 shifts that work into a <em>compile step</em> that happens when you build your app.</p>
<p>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 shifts that work into a <em>compile step</em> that happens when you build your app.</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>Instead of using techniques like virtual DOM diffing, Svelte writes code that surgically updates the DOM when the state of your app changes.</p>
@ -157,7 +158,7 @@ npm install
npm run dev & open http://localhost:5000
npm run dev & open http://localhost:5000
</pre>
</pre>
<pclass="linkify"style="flex: 1">See the <ahref="blog/the-easiest-way-to-get-started">quickstart guide</a> for more information.</p>
<p style="flex: 1">See the <ahref="blog/the-easiest-way-to-get-started">quickstart guide</a> for more information.</p>
<p>Svelte components are built on top of HTML. Just add data.</p>
<p>Svelte components are built on top of HTML. Just add data.</p>
<divclass="repl-container">
<divclass="repl-container">
@ -168,7 +172,7 @@
</div>
</div>
</section>
</section>
<sectionclass="container example linkify">
<sectionclass="container example">
<p>CSS is component-scoped by default — no more style collisions or specificity wars. Or you can <ahref="TODO-blog-post-on-css-in-js">use your favourite CSS-in-JS library</a>.</p>
<p>CSS is component-scoped by default — no more style collisions or specificity wars. Or you can <ahref="TODO-blog-post-on-css-in-js">use your favourite CSS-in-JS library</a>.</p>
<divclass="repl-container">
<divclass="repl-container">
@ -181,7 +185,7 @@
</div>
</div>
</section>
</section>
<sectionclass="container example linkify">
<sectionclass="container example">
<p>Trigger efficient, granular updates by assigning to local variables. The compiler does the rest.</p>
<p>Trigger efficient, granular updates by assigning to local variables. The compiler does the rest.</p>
<divclass="repl-container">
<divclass="repl-container">
@ -194,7 +198,7 @@
</div>
</div>
</section>
</section>
<sectionclass="container example linkify">
<sectionclass="container example">
<p>Build beautiful UIs with a powerful, performant transition engine built right into the framework.</p>
<p>Build beautiful UIs with a powerful, performant transition engine built right into the framework.</p>
<divclass="repl-container">
<divclass="repl-container">
@ -217,7 +221,7 @@
<sectionclass="container">
<sectionclass="container">
<h3>Contributors</h3>
<h3>Contributors</h3>
<pclass="linkify">Svelte is free and open source software, made possible by the work of dozens of volunteers. <ahref="https://github.com/sveltejs/svelte">Join us!</a></p>
<p>Svelte is free and open source software, made possible by the work of dozens of volunteers. <ahref="https://github.com/sveltejs/svelte">Join us!</a></p>