fix(examples): use lower-aware slot html updates
Move canonical examples and docs off direct RenderSlotExt render shortcuts so slot updates use generated render/lowering before HTML replacement, preserving runtime metadata for follow-up interactions. req: component/003 req: runtime/001 req: dx/006 req: examples/003
This commit is contained in:
@@ -7,7 +7,7 @@ mod tests {
|
||||
use super::ui::issue_card::handles as card_handles;
|
||||
use super::ui::issue_lane::events as lane_events;
|
||||
use hemplate::Hemplate;
|
||||
use slhx::{Effect, IntoEffect, Payload, RenderSlotExt};
|
||||
use slhx::{Effect, IntoEffect, Payload};
|
||||
use slhx_test::inspect;
|
||||
|
||||
#[derive(Hemplate)]
|
||||
@@ -30,7 +30,7 @@ mod tests {
|
||||
fn techdemo_uses_generated_slots_for_multi_target_updates() {
|
||||
fn update() -> impl IntoEffect {
|
||||
(
|
||||
slots::hero_metrics.render(&FastMetric { label: "fast" }),
|
||||
slots::hero_metrics.html(slhx::render(&FastMetric { label: "fast" })),
|
||||
slots::notice.text("typed"),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user