From 9155a3051086852da2048bdfe8b0223a340aec28 Mon Sep 17 00:00:00 2001 From: Bojan Mihelac Date: Fri, 30 Sep 2022 21:34:59 +0100 Subject: [PATCH] doc: add note to alpine-morph example (#987) --- www/extensions/alpine-morph.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/extensions/alpine-morph.md b/www/extensions/alpine-morph.md index e9a55d32..05b74f4c 100644 --- a/www/extensions/alpine-morph.md +++ b/www/extensions/alpine-morph.md @@ -36,6 +36,8 @@ Alpine.js now has a lightweight [morph plugin](https://alpinejs.dev/plugins/morp In the above example, all the Alpine x-data states (count, replaced, and message) are preserved even the entire Alpine component is swapped. +NOTE: `/swap` response from the example above should return actual element that is being replaced (this is `