diff --git a/examples/hello_world.rs b/examples/hello_world.rs index 8e8f787..bc9d0dc 100644 --- a/examples/hello_world.rs +++ b/examples/hello_world.rs @@ -30,6 +30,7 @@ fn app(cx: &Arc) -> View { move |_cx, _event: &KeyPress| { let mut count = count.get(); *count += 1; + cx.refresh(); } });