assign parents through fragments
This commit is contained in:
1 parent
35b643e23f
commit
d81d3ebaef
4 files changed
+13
-6
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user