Book description
Create professional and progressive web apps with the native HTML API on the latest technology stack. This book describes the basics of web components and how to create them using plain JavaScript as well as how to make professional applications based on web components using TypeScript.
Developing Web Components with TypeScript looks at APIs using examples, techniques, and tricks. You will start with a brief introduction to web components, including slots and templates, handling custom events, and styling components with or without shadow DOM. Then, it introduces TypeScript as part of the tool set. It shows the internal construction of a professional thin library. It also helps you learn how to deal with web components in real-life projects; this includes techniques such as creating a single-page app without framework code. All code samples used here are supported by all modern browsers for you to follow along. Library code and examples are available on GitHub.
What You Will Learn
- Create isolated web components using shadow DOM, slots, and templates
- Understand the advantage of an enhanced toolset, especially TypeScript
- Pick up styles and customizations
- Master professional web apps using native APIs
- Understand the life cycle of a component
Who This Book Is For
Professional developers who want to move from desktop to web and away from fat frameworks to achieve their goal.Product information
- Title: Developing Web Components with TypeScript: Native Web Development Using Thin Libraries
- Author(s):
- Release date: March 2021
- Publisher(s): Apress
- ISBN: 9781484268407
You might also like
book
Node.js Web Development
Build scalable web applications using Node.js, Express.js, and the latest ECMAScript techniques, along with deploying applications …
book
Building Native Web Components: Front-End Development with Polymer and Vue.js
Start developing single-page applications (SPAs) with modern architecture. This book shows you how to create, design, …
book
Developing Web Components
Although web components are still on the bleeding edge—barely supported in modern browsers—the technology is also …
book
Getting Started with Web Components
Explore modern Web Component design and integrate them with a variety of web frameworks to build …