Overview
Introduction
Welcome to Wafer: a simple and lightweight base library for building Web Components that can be used on the browser, server or both.
Wafer is:
-
Small 🪶
<2kb (minified and compressed) -
Fast ⚡️
Template updates are declared using CSS selectors leveraging native browser performance -
Efficient 🔋
Updates are batched preventing any unnecessary renders -
Flexible 💪🏾
Import directly, drop in a<script>
tag, or use your favourite bundler -
Server ready ▶️
Wafer components can be used unchanged in browsers and on the server
To get started checkout how to install Wafer, read through a quick guide outlining the basic concepts, or dive in to a live example.
Next: Motivation