A base class for using Web Components


Keywords
component, web component, html, web, rotom, element, snabbdom, jsx, component-library, components, custom-elements, javascript, web-component, web-components
License
MIT
Install
npm install rotom@0.13.0-rc.0

Documentation

Bulba

A set of packages enabling an intuitive, deterministic, and extendable web component base class.

Base class (the main package):

Renderers:

Utilities:

Development

To run tests:

$ npm test

To start the dev server, there are a few commands to know:

# Template renderer dev
$ npm run watch:template

# JSX renderer dev
$ npm run watch:jsx

# Template renderer, using CDN
$ npm run watch:cdn:template

# JSX renderer, using CDN
$ npm run watch:cdn:jsx

Note that when using the CDN commands, you should also uncomment one of the CDN links in the index.html entry point of either preview/jsx or preview/template. All should be valid after releasing a new version.