官术网_书友最值得收藏!

Chapter 1: Meet Svelte

When developers think of JavaScript frameworks, the options abound. Even within the narrow scope of front-end development that we're covering in this book, most developers will be familiar with (or have at least heard of) tools such as Angular, React, and Vue.

However, you picked up this book because you've heard of Svelte, and you've heard of it's growing in popularity. You've probably also heard that Svelte is different, and that there's something magical about it. I'm using the word magical on purpose: in fact, the original tagline for the Svelte project was "the magical disappearing UI framework."

This book is about the Svelte 3 front-end JavaScript framework, the last version as of the time of writing, which was released in April 2019.

You can use Svelte to build single, reusable components for projects of any kind, including larger applications written with Angular, React, Vue, or any other frameworks. Or, you can build entire web applications with it – just like we'll be doing in this book.

Among all the various frameworks, in most comparisons, Svelte 3 stands out for its ability to produce smaller code bundles that run faster in the browser, compared to Angular or React. This is a big part of what makes Svelte magical. But, perhaps even more importantly, developers largely enjoy working with Svelte 3; building components and applications with it feels to many very similar to using "vanilla JavaScript."

Throughout this book, I'll help you build your first, fully functional project with Svelte 3: a journaling app. We'll go from bootstrapping the development environment all the way to production with an automated continuous integration and delivery pipeline.

While building this sample app, we'll cover the majority of the features of Svelte 3. By the end, you should have a strong foundation to go and create your own apps with Svelte.

In this chapter, we'll cover the following topics:

  • Modern web app development
  • Why you should use Svelte
  • Details on the app we'll be building
主站蜘蛛池模板: 六盘水市| 嘉荫县| 信阳市| 金乡县| 达拉特旗| 宜兰市| 太仓市| 尉氏县| 勐海县| 达拉特旗| 东明县| 定南县| 桃江县| 凤山县| 湾仔区| 乌鲁木齐县| 桦甸市| 清流县| 宜章县| 浦县| 龙山县| 通山县| 阿拉善左旗| 武义县| 普格县| 邯郸市| 盖州市| 安阳市| 龙江县| 阿拉尔市| 琼结县| 大田县| 平利县| 分宜县| 镇原县| 湘阴县| 嘉兴市| 新营市| 琼海市| 加查县| 新昌县|