Comment

Comment by lamplightdev

Wafer is a simple and lightweight base library for building Web Components that can be used on the browser, server or both.

It small (<2kb minified and compressed) and opts for a CSS selector based API for updating component templates.

Component declarations can be used unchanged on both the client and server (node) to SSR components (using Shadow or Light DOM) and optionally hydrate on the client.

Read a quick overview at https://waferlib.netlify.app/docs/010-overview/030-quick/, or edit a live example at https://waferlib.netlify.app/docs/010-overview/040-example/.

All feedback welcome, thanks!

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton