ghtmx example · htmx 4

QUERY and morph swaps

Typing issues a QUERY request — safe like GET, parameters in the body like POST — bound to the QUERY /search route. The list is swapped with innerMorph: entries that survive a keystroke are updated in place, not recreated — only newcomers fade in, and the ones you expanded stay expanded.