From 8f4a021d6e81adf7b43f493e231a3e009a973b9e Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Thu, 5 Mar 2026 17:30:19 +0000 Subject: [PATCH 1/2] Clean up script-initiated patching example --- patching-explainer.md | 35 +++++++++-------------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/patching-explainer.md b/patching-explainer.md index 8d61566..66a92f6 100644 --- a/patching-explainer.md +++ b/patching-explainer.md @@ -18,7 +18,7 @@ This proposal introduces partial out-of-order HTML streaming as part of the web Patches are delivered using a ` ``` -Multiple `` elements without place-holder content is also supported in a similar manner: - -```html -
- -
- -
- - - - -``` - A few details about patching: - Templates with a valid `for` attribute are not attached to the DOM, while templates that don't apply are attached to signal an error. @@ -162,9 +144,10 @@ For example: ```html
-
- +
+ Loading... +
@@ -172,18 +155,18 @@ For example: async function update_results() { const writer = container.streamAppendHTMLUnsafe().getWriter(); await writer.write(` -