© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
A. LibbyPractical Sveltehttps://doi.org/10.1007/978-1-4842-7374-6_1

1. Getting Started

Alex Libby1  
(1)
BELPER, UK
 

Wait, this new framework has a runtime? Ugh. Thanks, I’ll pass.

Let me begin with a single fact: we’re shipping too much code to our users.

Yes, it might well be the case that tools, such as React and Angular, are all the rage nowadays. But most of them have one thing in common – they each have a runtime library that must run when rendering websites using these tools. Sure, this might be a necessary evil when creating component-driven websites, but it’s okay, as everyone does it, right?

It’s not okay. We may think it’s acceptable to run a 100Kb+ ...

Get Practical Svelte: Create Performant Applications with the Svelte Component Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.