all AI news
Like htmx, but with only one attribute per element - a prototype
DEV Community dev.to
Introduction
The htmx is a great tool that provides access to AJAX, CSS transitions, WebSockets, and server-sent events directly in HTML. It accomplishes this by using attributes such as hx-get, hx-post, hx-trigger, etc. within HTML tags. However, in certain scenarios, the use of many attributes in the same element can contribute to element pollution. Picture a train of attributes within the same element.
The Prototype
The concept behind this prototype is to apply the same principle as htmx but with …
ajax css element etc events html htmx introduction javascript per server tags tool transitions webdev websockets