Alert duplication when hx-swap replaces the alert container
Goal: show a useful alert only once per successful request without creating notification spam. When an hx-trigger event fires a click or load, the same element may be swapped repeatedly by hx-swap, which replaces the target’s innerHTML and can remove or duplicate the alert container, causing missed or noisy messages. The precise uncertainty is whether htmx p