From 4c46394f2d405dcc88d10813a80ef01a35d35814 Mon Sep 17 00:00:00 2001 From: Luke <37006668+lukechu10@users.noreply.github.com> Date: Fri, 6 Oct 2023 16:29:15 +0100 Subject: [PATCH] Update README.md example with new reactivity system] (#629) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9a2f60d4..11c912e3 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ Sycamore is a _reactive_ library for creating web apps in **Rust** and **WebAsse ```rust #[component] -fn Hello(cx: Scope) -> View { - view! { cx, +fn Hello() -> View { + view! { p { "Hello World!" } } }