Landing pages need a little reactivity — an accordion, a theme toggle, a count-up on scroll. They do not need a framework's reconciliation engine.
A few x-data attributes
Alpine.js adds declarative behavior with plain HTML attributes. Our FAQ accordion is an x-data directive and a couple of x-show toggles. The contact modal is the same shape. There is no component tree to mount.
The AHA promise
Astro renders the document, HTMX swaps fragments, Alpine hydrates micro-interactions. Each tool does one job and stays out of the critical path. Accordions, toggles, counters — a few x-data attributes instead of a framework.
Comments
Sign in to join the conversation.
Commenting as