Railsdesigner iconRailsdesignerSep 10, 2026 ~1 min source read

Attractive.js 1.0.0: interactive HTML without one line of JavaScript

No virtual DOM, no state management, no component lifecycle to learn or more of things like that. In that regard it is much like Stimulus, but with less ceremony/setup (and Attractive gives you actions out of the gate).

Share this story

Send the public story page.

Useful takeaways from this story.

No virtual DOM, no state management, no component lifecycle to learn or more of things like that.

In that regard it is much like Stimulus, but with less ceremony/setup (and Attractive gives you actions out of the gate).

Again (or rather I rewrote the JavaScript library I wrote some time ago).

Building the complete brief

The page is ready to read now. The fuller skim-friendly version will appear here automatically.

The useful part

No virtual DOM, no state management, no component lifecycle to learn or more of things like that. In that regard it is much like Stimulus, but with less ceremony/setup (and Attractive gives you actions out of the gate). Again (or rather I rewrote the JavaScript library I wrote some time ago).

Details worth keeping

Again (or rather I rewrote the JavaScript library I wrote some time ago). So I made Attractive.js: a humble set of declarative HTML actions. Reading the markup tells you what the page does.

Keep reading in the app

Open the app view to save this story, compare related coverage, and continue from the same source.

Open in app