Blog Youtube

Web Component Essentials

Stop rewriting your UI components for every front end framework. Create reusable components that work everywhere.


Build and Share.

"Web Component Essentials" is a book and video course that teaches you how to write reusable UI components. Increase your productivity by learning how to create UI components that work together with Angular, Vue, React, and more! Build robust style guides and design systems by leveraging Web Components.

Learn from Google Developer Expert Cory Rylan and get the essentials to start creating your own Web Components today.

Get Course Now!
Web Component Essentials Book

What's Included

Code Examples

Over 20 stand alone fully functioning code examples included alongside the book.

EBook with over 100+ pages of content

Learn Web Components from the fundamentals APIs to shipping production components in short concise chapters.

Video Course with over 20+ screencasts

Get full access to the video course with over 20 screencasts and an hour of content.

Screencast Videos

Fundamentals 19 mins of learning material

Screencast 01 Custom Elements

Custom Elements

Screencast 02 templates

Templates

Screencast 03 Content Slot

Content Slot

Screencast 04 Multi Content Slot

Multi Content Slot

Screencast 05 Custom Properties

Custom Properties

Screencast 06 Custom Events

Custom Events

Screencast 07 Attributes

Attributes

Screencast 08 Component Lifecycle

Component Lifecycle

Styling Web Components 14 mins of learning material

Screencast 09 Shadow DOM

Shadow DOM

Screencast 10 CSS Custom Properties

CSS Custom Properties

Screencast 11 Component Themes

Component Themes

Screencast 12 Component Built in Themes

Component Built in Themes

Screencast 13 Component Fallback Themes

Component Fallback Themes

Component Architecture 17 mins of learning material

Screencast 14 Dropdown Component

Dropdown Component

Screencast 15 Component Communication

Component Communication

Screencast 16 Component Libraries

Component Libraries

Screencast 17 Browser Support

Browser Support

Framework Integration 13 mins of learning material

Screencast 18 Angular

Angular

Screencast 19 Vue

Vue

Screencast 20 React

React

Authoring Tools 19 mins of learning material

Screencast 21 lit-html

lit-html

Screencast 22 Stencil JS

StencilJS

Screencast lit-element todo app

lit-element todo app

EBook Table of Contents

  • Introduction
    • About the Author
    • What is this Book About?
    • Technical Prerequisites
  • Chapter 1 - The Component
    • History of the Component
    • What is a Web Component?
    • Custom Elements
  • Chapter 2 - Templates
    • Attaching a Template to the Shadow DOM
    • Content Slot API
    • Named Slots
    • Use Case - Dropdown Component
  • Chapter 3 - Component Communication
    • Component Properties
    • Component Events
    • Use Case - Dropdown Component
    • Component Custom Attributes
  • Chapter 4 - Component Lifecycle
    • JavaScript Class Constructor and Connected Callback
    • Disconnected Callback
    • Attribute Changed Callback
    • Adopted Callback
  • Chapter 5 - Dynamic Styles and the Shadow DOM
    • Global Styles
    • CSS Encapsulation
    • CSS Custom Properties
    • Dynamic CSS Custom Properties
  • Chapter 6 - Theming Web Components
    • Root Scope and Host Scope
    • Implementing Dark Themes
  • Chapter 7 - Component Hierarchy and Architecture
    • Component Data Flow
    • Character List
    • Character Detail
  • Chapter 8 - Production Ready(ish) Web Components
    • Publishing with NPM
    • Browser Support
    • Polyfills
    • Installing Webpack and Babel
    • Webpack
  • Chapter 9 - Using Web Components in Angular and VueJS
    • Angular
    • VueJS
  • Chapter 10 - Using Web Components in React
    • React Compatibility
    • Create React App
    • Properties and Events
    • Prop Updates
  • Chapter 11 - lit-html templates
    • lit-html and Template Literal Strings
    • Templates and Event Listeners
    • Properties and Decorators
    • Custom Events
    • Binding to other Web Components with lit-html
  • Chapter 12 - Stencil JS
    • The Stencil CLI
    • Decorators
    • JSX Templates
    • JSX Component Bindings
    • Building your Stencil Components
  • Chapter 13 - Building a Todo App with lit-html
    • Implementation
    • Todos Data Service
    • Todos List
    • Todo Item
  • Chapter 14 - Conclusion

The Author

Cory Rylan is a full-time front-end web developer and Google Developer Expert in Angular and Web Technologies. He works full time on the VMware Clarity Design System building reusable UI components. When not building he is busy teaching Angular and other web technologies in workshops and conferences. He loves the web and is optimistic of the places it can take us.

Get Web Component Essentials

EBook + Bonus Video Course

  • Over 20 stand alone fully functioning code examples
  • 100+ page ebook with PDF, EPub, and Mobi formats.
  • Full access to the video course, over 20 screencasts and an hour of video content.
  • Free updates for additional future videos covering unit testing and additional component walkthroughs.
Buy Now | $39.99 $24.99 USD Buy for your Team | from $99.99

Get the EBook

  • Over 20 stand alone fully functioning code examples
  • 100+ page ebook with PDF, EPub, and Mobi formats.
Buy Now | $14.99 Buy for your Team | from $59.99

Frequently Asked Questions


What formats are included with the book?

The EBook includes PDF, ePub and Mobi formats.


Can I get a refund if needed?

Yes, within 30 days of purchase you can get a 100% refund on any purchase. Contact Us.


Does the book/video course receive updates?

Yes, both the book and video course are frequently updated to the latest best practices for Web Components. All future updates and additions are included free with purchase.

Are code examples included?

Yes, a zip file with 20+ code examples is included with purchase.


Will Web Components work in my framework/library?

Yes, Web Components will work in most modern JavaScript frameworks. The book provides detailed guides and code examples for Angular, Vue and React.

I've purchased the book can I add on the course later?

Yes, you can purchase just the video course here.

Articles View All

Introduction to Web Components

Introduction to Web Components

coryrylan.com
lit-html

Building Web Components with lit-html

coryrylan.com
StencilJS

Create your first Web Component with Stencil JS

coryrylan.com

Videos