Thank you to our Platinum Sponsors

HTMX: Get this, and put it there

Time Slot
Sun 9:00am to 9:45am (10/18/26)
Room
381 - BCIT Downtown

Do you groan while debugging Drupal's AJAX system?
Ever wonder why jQuery is still being loaded?
Are you tired of writing extra JS?

With HTMX, fetching content from the server and rendering on the page becomes a breeze.

We are no longer getting JSON, rendering html, and writing instructions on where to put it. Instead, the attributes on your elements tell the front end when to trigger updates, where to fetch them, and where to put them.

This simple paradigm can save up to 71% of JS code.

Server rendered content uses your theme templates, and is cacheable. Currently Drupal's AJAX widgets like the dialog and autocomplete are built with JS and difficult to to style. HTMX will make these things much easier to customize.

HTMX has been in Drupal since 11.3. It's already used in modules like ECA and Display Builder. HTMX 4 was just released and Drupal will be one of the first frameworks to support it.

What this session will cover:

  • What is HTMX?
  • How it works
  • Examples
  • Tips and tricks
  • What's coming in core
Audience
Intermediate
Session Category
Backend
Frontend

Thank you to our Platinum, Gold and Silver Sponsors