Skip to content

w-lfpup/wctk-js

Repository files navigation

Wctk-JS

The web component tool kit.

Install

npm install --save-dev https://github.com/w-lfpup/wctk-js/

Controllers

A handful of facades:

Examples

SSR (server side rendering)

The following examples demonstrate several common SSR use cases:

About

Wctk-js is a concise way to create web components with:

  • No decorators
  • No (unncessary) inheritance
  • No extra dependencies

Wctk-js provides support for:

  • Reactivity
  • SSR
  • Events
  • Forms
  • Subscriptions

All features are optional and compositional.

Wctk-js supports #private functions as callbacks for event listerners and data stores. This fully encapsulates a web component API (aside from required lifecycle methods).

License

Wctk is released under the BSD-3 Clause License.