x-alap directive — every trigger evaluates a
{ query, config } object. Lens and lightbox are
embedded web components. Personalized around the Alpine ecosystem
— async queries search HN for alpine.js, static links
cover alpinejs.dev, Livewire, and Caleb Porzio's blog.
Click any direction; every x-alap trigger on the
page reads placement: dir || 'SE' from Alpine state
— changing dir cascades to them all.
Quick confirm — Static Alpine links (no async, opens instantly at the compass direction).
:slow: mock
The Alpine directive wires ProgressiveRenderer to the
trigger — same contract as every other adapter, just via
Alpine's directive lifecycle.
Slow menu — 5 items in 2s
Fast menu — 8 items in 500ms
Top HN stories about Alpine.js
static mock (async) HN (async)
Static Alpine refs + 3 slow items
Static Alpine refs + 4 HN stories
Forced error after 800ms
Empty result after 800ms
Static + error + slow
Trigger A — slow 4 items Trigger B — same token