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
- Vanilla JavaScript Web Component
- Test with Karma and Jasmine
- Vanilla TypeScript Web Component
- Test with Karma and Jasmine
- Simple Event Handling
- Custom event
- Test with Karma and Jasmine
- Components as a Bundle
- Browser Bundle
Test with Karma and Jasmine- Tests with Jest/TS Jest
- Development Mode (watch sources, rebuild on change, reload modules)
- Tagged Templates (building the template element...)
etc.