wip: remove cx.children. start to move towards a "children" field
This commit is contained in:
1 parent
6b2645fd80
commit
7b97e009ec
14 files changed
+114
-276
No files matched your search
@@ -22,7 +22,7 @@ fn manual_diffing() {
|
||||
|
||||
static App: FC<AppProps> = |(cx, props)| {
|
||||
let val = props.value.lock().unwrap();
|
||||
rsx! { div { "{val}" } }
|
||||
cx.render(rsx! { div { "{val}" } })
|
||||
};
|
||||
|
||||
let value = Arc::new(Mutex::new("Hello"));
|
||||
|
||||
Reference in new issue
Block a user