assign parents through fragments

This commit is contained in:
Evan Almloff committed 2023-09-11 16:16:16 -05:00
1 parent 35b643e23f
commit d81d3ebaef
4 files changed
+13 -6

No files matched your search

+1
View File
@@ -55,6 +55,7 @@ fn problematic_child(cx: Scope) -> Element {
render! {
button {
onclick: move |evt| {
println!("bottom clicked");
let mut clicks = CLICKS.lock().unwrap();
if *clicks == 3 {