8000 GitHub - lcmen/hotwire-htmx-unpoly: Simple TODO application built with Rails to compare Hotwire, HTMX and Unpoly
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lcmen/hotwire-htmx-unpoly

Repository files navigation

Hotwire vs HTMX vs Unpoly

Simple TODO application built with Rails to compare Hotwire, HTMX and Unpoly.

All variants share the same controller. Difference lies in views and JavaScript files.

HTMX

It uses head-support extension to merge heads and preload to preload links on mousedown.

Modal is powered by native dialog element with small sprinkle of JavaScript via Alpine.js component.

Redirects are made with HX-Location header.

Hotwire

Scroll is preserved through before-visit and load event handlers.

Modal is powered by native dialog element with small sprinkle of JavaScript via Stimulus controller.

Redirects are made with custom stream action.

Unpoly

No extra code, just configuration for default animations.

Inertia

Modal is powered by native dialog element but it required custom inertia_share modal configuration that is not supported by default.

About

Simple TODO application built with Rails to compare Hotwire, HTMX and Unpoly

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •  
0