Svelte Succinctly

Автор: literator от 31-05-2023, 15:49, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Svelte SuccinctlyНазвание: Svelte Succinctly
Автор: Ed Freitas
Издательство: Syncfusion Inc.
Год: 2023
Страниц: 114
Язык: английский
Формат: pdf (true)
Размер: 10.26 MB

Svelte departs from the virtual DOM approach by compiling the code you write into native-browser jаvascript when you build your application. The result is minimal and highly optimized pure jаvascript that the browser executes with no heavy runtime. In Svelte Succinctly, Ed Freitas will show readers how to install Svelte and give them a condensed overview of how to build an app with Svelte using SvelteKit.

In the traditional context of modern declarative jаvascript frameworks such as React and Vue, Svelte departs from the virtual DOM approach by compiling the code you write into native-browser jаvascript when you build your application. Svelte allows you to do the same things as React and Vue, such as creating reusable UI components, data-binding or event-handling, and creating single-page applications. But Svelte compiles your code during build time instead of using differences to update the DOM. The result is minimal and highly optimized pure jаvascript that the browser executes with no overhead (it ships no runtime, like React and Vue do).

When creating an application using React or Vue, the runtimes of these frameworks are included along with your application code build, resulting in a heavier app deployment. In other words, this runtime ships along with your app and executes your application code.

Svelte does not deploy a runtime, since that’s additional code for the browser to execute, and instead deploys the application’s optimized jаvascript code. Svelte can achieve this because it establishes a convention for how you should write your application code so that the Svelte compiler can then take that code and convert it into optimized jаvascript, ready for the browser to run.

Svelte does a great job at working with the native languages of the web, such as HTML, CSS, and jаvascript.

Table of contents:

Getting Started
Project Organization
Setting Up a Back End
Finished App Features
Main User Interface
Favorites UI and Books Component
Back-end App Functionality

Скачать Svelte Succinctly








Нашел ошибку? Есть жалоба? Жми!
Пожаловаться администрации
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.