Udemy

Web Components & Stencil.js - Build Custom HTML Elements

Enroll Now
  • 19,241 Students
  • Updated 11/2023
4.7
(3,759 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
8 Hour(s) 48 Minute(s)
Language
English
Taught by
Academind by Maximilian Schwarzmüller, Maximilian Schwarzmüller
Rating
4.7
(3,759 Ratings)
1 views

Course Overview

Web Components & Stencil.js - Build Custom HTML Elements

A Complete Introduction to building Custom HTML Elements/ Web Components with and without StencilJS

Let's face it: You got hundreds of HTML tags to choose from but some really helpful ones (<tabs>, <side-drawer>, <modal>, ...) are missing.

What if you could build your own HTML tags? 

Without frameworks like Angular, libraries like React or expert JavaScript knowledge in general. Just with a magic, native-JavaScript feature called "Web Components" (or "custom HTML elements").

Web Components are a combination of various specifications that are baked into the browser. Getting started with these features is a breeze and you'll quickly be able to build your own powerful and re-usable (even across projects!) custom HTML elements.

Such custom elements don't replace Angular, React or Vue though - instead you can easily use them in ANY web project, including projects using such frameworks and libraries.

In this course, you'll learn this from scratch.

But we won't stop there. Whilst getting started is fairly easy, more complex components will be more difficult to create. Stencil.js is a tool that makes the creation of such native web components much easier by using modern features like TypeScript and JSX (don't know that? No worries, you'll learn it in the course!).

In detail, in this course you will learn:

  • how to build re-usable, lightweight custom HTML elements with native browser features

  • how to build web components of all complexities - from a simple tooltip to modals or side drawers

  • how to pass data into your own web components and use it there

  • how to emit your own custom events which you can listen to in JavaScript

  • how to use the Shadow DOM to scope your CSS styles to your custom elements

  • how to use Stencil.js to get a much easier development workflow

  • how to use the many features Stencil.js provides to build native web components way more efficiently

  • how to deploy/ re-use your own web components in ANY project using ANY JavaScript framework like Angular, React or Vue (or none at all!)

Prerequisites:

  • Basic JavaScript knowledge is a must-have

  • ES6 JavaScript knowledge (const, let, classes, ...) is strongly recommended but not strictly required - a brief refresher is provided as part of the course

  • NO JavaScript framework knowledge (e.g. Angular, React, Vue) is required

  • NO TypeScript or JSX knowledge is required

Let's dive into this exciting technology together!

Course Content

  • 10 section(s)
  • 144 lecture(s)
  • Section 1 Introduction
  • Section 2 Refreshing Next Generation JavaScript (Optional)
  • Section 3 Understanding the Basics
  • Section 4 Diving Deeper Into Web Components
  • Section 5 Building More Complex Components
  • Section 6 Stencil - An Introduction
  • Section 7 Stencil - Diving Into the Basics
  • Section 8 Advanced Stencil
  • Section 9 Deployment & Publishing
  • Section 10 Roundup

What You’ll Learn

  • Build your own re-usable HTML elements that you can use in your own projects or share with other developers
  • Overcome the limitations of the built-in HTML elements with the power of HTML, CSS and JavaScript only

Reviews

  • V
    Vahini Chandrabhatla
    5.0

    good

  • M
    Mukesh Kumar
    4.0

    nice content

  • A
    Anonymized User
    5.0

    So far, out of the courses specifically dedicated to this topic, this one is the most direct, clear, and interesting to follow.

  • K
    Kevin Graham
    3.5

    The course is well-structured and explains concepts clearly, making it a solid learning resource. However, the API it relies on has since been limited, which makes it difficult to follow along with the hands-on portions.

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed