Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

Web Components & Stencil.js - Build Custom HTML Elements

via Udemy

Overview

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

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

Let's face it:You got hundreds of HTMLtags to choose from but some really helpful ones (, , , ...)are missing.

What if you could build your own HTMLtags?

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 HTMLelements.

Such custom elements don't replace Angular, React or Vue though - instead you can easily use them in ANYweb 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 HTMLelements 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 DOMto scope your CSSstyles 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 ANYproject using ANYJavaScript framework like Angular, React or Vue (or none at all!)

Prerequisites:

  • Basic JavaScriptknowledge 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

  • NOTypeScript or JSXknowledge is required

Let's dive into this exciting technology together!

Taught by

Academind by Maximilian Schwarzmüller and Maximilian Schwarzmüller

Reviews

4.7 rating at Udemy based on 3446 ratings

Start your review of Web Components & Stencil.js - Build Custom HTML Elements

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.