Book description
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 in this project can be made available in one of the world's most extensive component ecosystems to be usable by other frameworks, making them genuinely reusable. In short, Svelte offers plenty of opportunities as it is based on Node.js and JavaScript making Svelte a powerful package to work from.
What You'll Learn
- Use the Svelte framework to rapidly create and deploy the foundation of a component library that is versatile and performant
- Review developing and customizing components based on our needs
- Work through a real-world project to help solidify skills learned from the book and put them into practice
- Website developers, familiar with JavaScript, who are keen to learn how to leverage the Svelte framework fast
- Agile development teams, wheretime 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
Table of contents
- Cover
- Front Matter
- 1. Getting Started
- 2. Creating Basic Components
- 3. Building Action Components
- 4. Building the Navigation Components
- 5. Creating Notification Components
- 6. Creating Grid Components
- 7. Writing Documentation
- 8. Documenting More Components
- 9. Testing Components
- 10. Deploying to Production
- 11. Taking Things Further
- Back Matter
Product information
- Title: Developing Web Components with Svelte: Building a Library of Reusable UI Components
- Author(s):
- Release date: February 2023
- Publisher(s): Apress
- ISBN: 9781484290392
You might also like
book
Pro Angular: Build Powerful and Dynamic Web Apps
Welcome to this one-stop shop for learning Angular. Pro Angular is the most concise and comprehensive …
book
Full-Stack Web Development with Go
A Go programmer's hands-on guide to go from building basic server-side templates to full single page …
book
Node.js Design Patterns - Third Edition
Learn proven patterns, techniques, and tricks to take full advantage of the Node.js platform. Master well-known …
book
React Application Architecture for Production
A hands-on guide to help you develop skills and confidence in building and structuring React applications …