Skip to content

Commit

Permalink
Update README.md example with new reactivity system] (#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechu10 authored Oct 6, 2023
1 parent 3a0a7f3 commit 4c46394
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Sycamore is a _reactive_ library for creating web apps in **Rust** and **WebAsse

```rust
#[component]
fn Hello<G: Html>(cx: Scope) -> View<G> {
view! { cx,
fn Hello<G: Html>() -> View<G> {
view! {
p { "Hello World!" }
}
}
Expand Down

0 comments on commit 4c46394

Please sign in to comment.