0.14.2 • Published 4 years ago

@corpuscule/element v0.14.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

🛠 Status: In Development

This package is currently under heavy development. Feedback is always welcome, but be careful with using it in production. API is not ready yet and can receive large changes.

@corpuscule/element

Latest Stable Version Package size

A lightweight set of decorators for creating web components. It is a decorator-based analog for Polymer's LitElement or a web components based view rendering library like React or Vue.

Features

  • Zero third-party dependencies. The package still contains Corpuscule dependencies, but no third-party library is used.
  • Renderer agnostic. You can use @corpuscule/element with any renderer you want: lit-html, hyperHTML, preact or even React. Just choose an existing renderer or create a new one and send it as a decorator option.
  • Small. According to Bundlephobia, it has following sizes:
    • Package size
    • Package size
  • Typed. Typescript typings are included.

Installation

$ npm install --save @corpuscule/element

or

$ yarn add @corpuscule/element

Documentation

API documentation is available for the following modules:

Future

There are plans to create Babel plugin that will remove guards from the production builds. Since the source of inspiration for them were PropTypes, workflow should be the same: working during development, removed in production.

Common future plans for all Corpuscule packages can be found here.

0.14.2

4 years ago

0.14.0

5 years ago

0.13.0

5 years ago

0.12.0

5 years ago

0.11.0

5 years ago

0.10.2

5 years ago

0.10.0

5 years ago

0.9.0

5 years ago

0.8.2

5 years ago

0.8.1

5 years ago

0.8.0

5 years ago

0.7.2

5 years ago

0.7.1

5 years ago

0.7.0

5 years ago

0.6.0

5 years ago

0.4.1

6 years ago