From f4812fd1319d58eba76c1901f478db32d43ad80f Mon Sep 17 00:00:00 2001 From: Ben Michie Date: Fri, 28 Nov 2025 06:06:22 +1000 Subject: [PATCH] [docs] Remove redundant migration note (#3559) [docs] Remove redundant migration now The same note was repeated twice --- www/content/docs.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/www/content/docs.md b/www/content/docs.md index d06f0dc3..081c6043 100644 --- a/www/content/docs.md +++ b/www/content/docs.md @@ -721,16 +721,6 @@ for direct id replacement, and use `` for your other needs. -
-htmx 2.0 to 4.0 Changes - -In htmx 2.0, out of band swaps were the only way to send additional content with a response. In htmx 4.0 the `` -tag provides a more general, cleaner mechanism for swapping new content in to targets. Although the older syntax for -more elaborate out-of-band swaps is still supported in htmx 4.0, we strongly recommend you only use out-of-band swaps -for direct id replacement, and use `` for your other needs. - -
- If you want to swap content from a response directly into the DOM by using the `id` attribute you can use the [hx-swap-oob](@/attributes/hx-swap-oob.md) attribute in the *response* html: