diff --git a/examples/boids/src/boid.rs b/examples/boids/src/boid.rs
index f5a6fd31822..f842ab4e233 100644
--- a/examples/boids/src/boid.rs
+++ b/examples/boids/src/boid.rs
@@ -130,7 +130,7 @@ impl Boid {
points.push_str(&format!("{:.2},{:.2} ", x, y));
}
- html! { }
+ html! { <@{"polygon"} {points} fill={color} /> }
}
}
diff --git a/examples/boids/src/simulation.rs b/examples/boids/src/simulation.rs
index 0e5c21c61ce..0ca08cae6ba 100644
--- a/examples/boids/src/simulation.rs
+++ b/examples/boids/src/simulation.rs
@@ -87,9 +87,9 @@ impl Component for Simulation {
let view_box = format!("0 0 {} {}", SIZE.x, SIZE.y);
html! {
-
+ @>
}
}
}
diff --git a/examples/function_memory_game/src/components/chessboard_card.rs b/examples/function_memory_game/src/components/chessboard_card.rs
index a3c2ce43b80..c53f62e7c85 100644
--- a/examples/function_memory_game/src/components/chessboard_card.rs
+++ b/examples/function_memory_game/src/components/chessboard_card.rs
@@ -42,7 +42,7 @@ pub fn ChessboardCard(props: &Props) -> Html {
html! {
-
+
diff --git a/examples/js_callback/src/main.rs b/examples/js_callback/src/main.rs
index b69e8cbd182..097b657dd0f 100644
--- a/examples/js_callback/src/main.rs
+++ b/examples/js_callback/src/main.rs
@@ -56,8 +56,9 @@ impl Component for App {
let input: HtmlTextAreaElement = e.target_unchecked_into();
Msg::Payload(input.value())
})}
- value={self.payload.clone()}
- />
+ >
+ {self.payload.clone()}
+
diff --git a/examples/router/src/components/pagination.rs b/examples/router/src/components/pagination.rs
index 50e940d0ae3..6568bef7804 100644
--- a/examples/router/src/components/pagination.rs
+++ b/examples/router/src/components/pagination.rs
@@ -31,7 +31,7 @@ impl Component for Pagination {
fn view(&self, ctx: &Context
) -> Html {
html! {
-