feat(build): add lower-aware put helper

Generate ui::put(slot, view) for lower-aware slot HTML updates and move examples/docs/contracts to that ergonomic path instead of hand-composing slot.html(render(...)).

req: dx/006

req: component/003

req: runtime/001

req: examples/003
This commit is contained in:
slhx agent
2026-06-02 02:59:29 +02:00
parent f919b8cb10
commit 15809c86a6
10 changed files with 34 additions and 23 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ pub fn apply_board_patch(
PatchResult::Conflict { canonical_board } => Effect::batch((
Effect::set(atoms::BOARD, canonical_board.clone()),
slots::board.html(ui::render(&BoardView::from(canonical_board))),
ui::put(slots::board, &BoardView::from(canonical_board)),
)),
}
}