Hologram v0.10: Events, Middleware, and More

Hologram v0.10: Events, Middleware, and More

Hologram v0.10 introduces a comprehensive client-side event system that enables interactive browser applications to be written entirely in Elixir without JavaScript, supporting keyboard, scroll, resize, click-outside, and scroll-edge events with compile-time validation and modifiers like debounce and throttle. The release also adds server-side middleware and brings comprehensions and error handling to parity between browser and server execution, demonstrated through a full Space Invaders game implemented as pure Elixir driving SVG elements. Global window and document-level event bindings allow developers to handle page-wide events declaratively in templates using the same unified $event syntax.

⌘K

Start typing to search...

Search across content, newsletters, and subscribers