← This Week in HTMX

Issue № 11: Bump Version

, Deniz Akşimşek

htmx 1.7.0 released

The release also includes:

That’s still not all! Read the full release notes:

https://htmx.org/posts/2022-02-22-htmx-1.7.0-is-released/

_hyperscript 0.9.5 released

Highlights:

  • The add command now supports a when clause to allow conditionally adding/removing a class, etc. in a single command
  • The beep expression is now available to assist in debugging hyperscript code
add .highlighted to the <p /> in beep! <div.highlight />
-- Logs the value of `<div.highlight />`.
add .highlighted to beep! the <p /> in <div.highlight />
-- Logs the value of `the <p /> in <div.highlight />`.

https://hyperscript.org/posts/2022-02-22-hyperscript-0.9.5-is-released/

Intercooler.js to htmx migration guide

Intercooler is still maintained, but htmx provides new features and will continue to gain more. As such, you might want to port your intercooler apps to htmx + _hyperscript, which you can do with this guide.

The guide features such gems as:

htmx follows the approach of trying to keep the core small, with a smaller set of available attributes that are mostly focused on content loading and swapping.

Using the htmx events system with vanilla javascript, alpine.js or hyperscript. Hyperscript is a small, open scripting language designed to be embedded in HTML, inspired by HyperTalk and is a companion project of htmx.

None. No direct equivalent functionality exists (TBC)

https://htmx.org/migration-guide/

missing.css is ready for contributions

The skeleton of the project is complete, and eagerly waiting to be filled in with attractive styles. Check out the contributing guidelines, which feature the project’s standards for users, development instructions and a map of the project directory structure:

https://github.com/bigskysoftware/missing/blob/2aa556d/Contributing.md

Functional Web Apps?

A different way to solve all this complexity is to move up the cloud vendor stack. A Functional Web App (FWA) is authored completely as single-responsibility cloud functions that can render HTML-first dynamically, incorporating the full-stack such as a managed database.

Interesting…