Developing Web Components with Svelte: Building a Library of Reusable Ui Components
暫譯: 使用 Svelte 開發網頁元件:建立可重用 UI 元件庫
Libby, Alex
商品描述
Leverage the power of Svelte to quickly produce the foundations of a framework-agnostic component library that can extend and develop over time. This is a project-oriented book that simplifies setting up the skeleton of the library and adding components, using little more than a text editor or free software.
You'll gain a starting baseline that can be used to develop future projects or incorporated into an existing workflow. You'll take development to the next level and can use this knowledge to create components with any framework, such as React, Angular or Vue.js, not just Svelte. Developing Web Components with Svelte is an excellent resource for getting acquainted with creating and maintaining a component library using a phased approach. It takes the view that you don't have to create something complex and unwieldy. Instead, you can start building something quickly, then extend it as needs dictate over time, without sacrificing speed or features.
You'll see how to develop cleaner components in a quick, clear and straightforward way. The components you create from this book can be made available for use in other frameworks such as React, Vue or Angular, making them genuinely reusable. In short, Svelte offers plenty of opportunities as it is based on Node.js and JavaScript, which makes it a powerful package to use.
This New Edition Includes:
- New chapters covering animation components, accessibility concerns and Theming
- Extensively updated content and documentation to support changes in Storybook
- Updated to the latest spec of Svelte
- Reworked content and installation process for Storybook
You'll Learn:
- To use the Svelte framework to rapidly create and deploy the foundation of a web component library that is versatile and performant
- To review developing and customizing components based on our needs
- To work through a real-world project to help solidify skills learned from the book and put them into practice
Who This Book Is For:
- Website developers, familiar with JavaScript, who are keen to learn how to leverage the Svelte framework fast
- Agile development teams, where time is of the essence, and the pressure is on to deliver results quickly
- Developers who want to focus on simplicity, to produce efficient and optimized content in modern browsers using tools readily available
商品描述(中文翻譯)
利用 Svelte 的強大功能,快速建立一個框架無關的元件庫的基礎,並隨著時間的推移進行擴展和開發。這是一本以專案為導向的書籍,簡化了元件庫骨架的設置和元件的添加,僅需使用文本編輯器或免費軟體即可完成。
您將獲得一個可用於開發未來專案或納入現有工作流程的起始基線。您將把開發提升到一個新水平,並可以利用這些知識來創建任何框架的元件,例如 React、Angular 或 Vue.js,而不僅僅是 Svelte。《Developing Web Components with Svelte》是一本優秀的資源,幫助您熟悉使用分階段方法創建和維護元件庫。它的觀點是,您不必創建複雜且笨重的東西。相反,您可以快速開始構建某些東西,然後根據需求隨著時間的推移進行擴展,而不會犧牲速度或功能。
您將學會如何以快速、清晰和直接的方式開發更乾淨的元件。您從本書中創建的元件可以在其他框架中使用,例如 React、Vue 或 Angular,使其真正可重用。簡而言之,Svelte 提供了許多機會,因為它基於 Node.js 和 JavaScript,這使得它成為一個強大的工具包。
本新版本包括:
- 涵蓋動畫元件、可及性問題和主題的新章節
- 廣泛更新的內容和文檔,以支持 Storybook 的變更
- 更新至最新的 Svelte 規範
- 重新整理的內容和 Storybook 的安裝過程
您將學到:
- 使用 Svelte 框架快速創建和部署一個多功能且高效的網頁元件庫的基礎
- 根據需求審查開發和自定義元件
- 通過一個實際專案來鞏固從書中學到的技能並付諸實踐
本書適合誰:
- 熟悉 JavaScript 的網站開發人員,渴望快速學會如何利用 Svelte 框架
- 時間至關重要的敏捷開發團隊,面臨快速交付結果的壓力
- 希望專注於簡單性,使用現有工具在現代瀏覽器中生成高效和優化內容的開發人員
作者簡介
Alex Libby is a front-end engineer and seasoned book author who hails from England. His passion for all things Open Source dates back to the days of his degree studies, where he first came across web development and has been hooked ever since. His daily work involves extensive use of React, NodeJS, JavaScript, HTML, and CSS; Alex enjoys tinkering with different open source libraries to see how they work. He has spent a stint maintaining the jQuery Tools library and enjoys writing about Open Source technologies, principally for front-end UI development.
作者簡介(中文翻譯)
亞歷克斯·利比(Alex Libby)是一位前端工程師和資深書籍作者,來自英國。他對開源技術的熱情可以追溯到他攻讀學位的時候,當時他首次接觸到網頁開發,從此便愛上了這個領域。他的日常工作廣泛使用 React、NodeJS、JavaScript、HTML 和 CSS;亞歷克斯喜歡嘗試不同的開源庫,了解它們的運作方式。他曾經維護過 jQuery Tools 庫,並喜歡撰寫有關開源技術的文章,主要針對前端 UI 開發。