Skate is high level, functional abstraction over the web component specs that:
props, such as attribute reflection and coercion
npm install skatejs
To use Skate with a renderer, you'll want to install one of them:
npm install skatejs @skatejs/renderer-[renderer]
[renderer] is one of:
/** @jsx h */;;;const Component = ;customElements;
Whenever you change the
name property - or attribute - the component will re-render, only changing the part of the DOM that requires updating.
Skate uses both Custom Elements and Shadow DOM, but is capable of operating without Shadow DOM, you just don't get any encapsulation.
For more information on the polyfills, see their docs.
Skate supports all evergreens and IE11, and is subject to the browser support matrix of the polyfills.
Support us with a monthly donation and help us continue our activities. [Become a backer]
Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]