fix components that take no arguments
This commit is contained in:
1 parent
404c864246
commit
1794debf79
24 files changed
+98
-78
No files matched your search
@@ -17,7 +17,7 @@ fn manual_diffing() {
|
||||
}
|
||||
|
||||
fn app(cx: Scope<AppProps>) -> Element {
|
||||
let val = cx.props.value.lock().unwrap();
|
||||
let val = cx.value.lock().unwrap();
|
||||
render! { div { "{val}" } }
|
||||
};
|
||||
|
||||
@@ -96,7 +96,7 @@ fn events_generate() {
|
||||
// })
|
||||
// };
|
||||
|
||||
// fn Child(cx: Scope) -> Element {
|
||||
// fn Child() -> Element {
|
||||
// println!("Running child");
|
||||
// render_without_templates! {
|
||||
// h1 {}
|
||||
|
||||
Reference in new issue
Block a user