wip: more examples
This commit is contained in:
1 parent
904b26f711
commit
11f89e5d33
27 files changed
+64
-57
No files matched your search
@@ -11,7 +11,7 @@ fn main() {
|
||||
}
|
||||
|
||||
fn CustomA(cx: Context<()>) -> VNode {
|
||||
let (val, set_val) = use_state(&cx, || "abcdef".to_string() as String);
|
||||
let (val, set_val) = use_state_classic(&cx, || "abcdef".to_string() as String);
|
||||
|
||||
cx.render(rsx! {
|
||||
div {
|
||||
|
||||
Reference in new issue
Block a user