diff --git a/examples/techdemo/src/main.rs b/examples/techdemo/src/main.rs index 314cfef..a3520a9 100644 --- a/examples/techdemo/src/main.rs +++ b/examples/techdemo/src/main.rs @@ -684,7 +684,7 @@ mod tests { assert_eq!(document.select(&selector(".inspector-row")).count(), 3); assert!(document .select(&selector("code")) - .any(|code| code.text().collect::().contains("typed update batch"))); + .any(|code| code.text().collect::().contains("targets::*"))); } // req: html_safety/002 req: view/001 req: test/005 diff --git a/examples/techdemo/templates/partials/inspector_panel.heml b/examples/techdemo/templates/partials/inspector_panel.heml index d1852fb..88c455d 100644 --- a/examples/techdemo/templates/partials/inspector_panel.heml +++ b/examples/techdemo/templates/partials/inspector_panel.heml @@ -1,4 +1,4 @@ {+= self.selected =+}
What happened
{+ self.spotlight +}
-
Wire contract
POST __h → application/slhx → typed update batch
+
Update path
targets::* → tuple effects → DOM
Runtime
Root-scoped delegated listeners; numeric targets only.
diff --git a/slhx-test/tests/examples_contract.rs b/slhx-test/tests/examples_contract.rs index f33cfec..5a45223 100644 --- a/slhx-test/tests/examples_contract.rs +++ b/slhx-test/tests/examples_contract.rs @@ -75,6 +75,8 @@ fn canonical_examples_do_not_author_low_level_resource_plumbing() { "ui::put(", "ui::append(", "ui::replace(", + "application/slhx", + "EffectBatch", "__h=", "name=\"__h\"", "name='__h'",