Real, runnable examples. From a 20-line counter to a fully adaptive dashboard — study the pattern, fork the code, ship faster.
The canonical EdgeLiteDB hello-world. edge() + sync() wired together. 18 lines of code, zero dependencies.
A todo list that compacts on mobile using adapt.compact(). Tap targets auto-expand on touch. Click the third item.
Client-side routing with @edgelitedb/router. History API, :param segments, and catch-all routes — under 1kb.
Watch EdgeLiteDB's anonymous telemetry pipeline in real time. Signals fluctuate to show how the adaptive engine responds to real device data.
A single button that auto-enlarges on touch devices using adapt.tapTarget(). The simplest possible adaptive component.
A card that adapts tap targets, compacts on narrow viewports, and swaps @2x images on retina screens — simultaneously.
Multi-route SPA using edgelitedb-router. History API push state, param extraction, nested layouts.
Using beforeRender, afterRender, mounted, and updated to run imperative side effects around the render cycle.
Server-rendering components in a Deno Deploy edge function. Hydrates on the client with zero overhead for static routes.
Register a global adaptive rule that injects OS-level dark mode preference into every component tree automatically.
Full type safety with EdgeLiteDB's generic edge() overloads. Prop types, adapt rule types, and store generics all included.
Walkthrough of the sync() store: get, set, patch, subscribe, and reset. The entire reactive foundation of EdgeLiteDB.