Comparison

NominiHTMX v4AlpineDatastar
Bundle Size (.min.gz)🟒 ~1.8kb🟑 ~11.2kb🟑 ~15.3kb🟑 ~14.4kb
Main PurposeLightweight reactivity and partial page updatesEasy partial page updatesFull-featured reactivity systemFull-featured streaming page updates and reactivity
Reactivity ModelProxyπŸ”΄ N/AProxySignals
Data Scoping🟑 nm-data, no inheritanceπŸ”΄ N/A🟒 Global scope with overrides🟒 Global scope with overrides
Event Handling🟒 nm-on with modifiers🟒 hx-on/hx-trigger with many modifiers🟒 x-on with modifiers🟒 data-on with modifiers
Templating🟑 template + nm-use (simple)πŸ”΄ None🟒 x-for/x-teleport🟑 Rocket (pro only)
AJAX🟒 $fetch🟒 hx-getπŸ”΄ Only with alpine-ajax🟒 @get
Streaming Support🟒 By HTML Chunk🟒 By HTML Chunk or SSEπŸ”΄ N/A🟒 By custom SSE format
Server Requirements🟒 Produce HTML🟒 Produce HTML🟑 Produce HTML and JSON🟑 Produce custom SSE format (or HTML)
Learning Curve🟒 Low🟒 Very Low🟑 Medium🟑 Medium–High
Locality of Behavior🟒 Excellent🟒 Excellent🟒 Excellent🟒 Excellent
CSP CompatabilityπŸ”΄ None🟒 Good🟑 PossibleπŸ”΄ None