Skip to content

bvfnbk/example-web-components

Repository files navigation

Example Web Components

This repository contains a number of different (vanilla) web components. It is a workspace intended for proof of concepts, ideas and the research for best practices when doing without the many component frameworks like React, Angular and VueJS to name but a few.

The order of the web components actually matters: later modules add concepts to earlier modules. Sources are shamelessly copied and adapted from earlier modules

Overview

  1. Vanilla JavaScript Web Component
    • Test with Karma and Jasmine
  2. Vanilla TypeScript Web Component
    • Test with Karma and Jasmine
  3. Simple Event Handling
    • Custom event
    • Test with Karma and Jasmine
  4. Components as a Bundle
    • Browser Bundle
    • Test with Karma and Jasmine
    • Tests with Jest/TS Jest

Roadmap

  • Development Mode (watch sources, rebuild on change, reload modules)
  • Tagged Templates (building the template element...)

etc.

About

The example web component using vanilla JS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •