dioxus/examples/_examples/props.rs
2021-07-07 16:19:10 -04:00

13 lines
218 B
Rust

use dioxus_core as dioxus;
use dioxus_core::prelude::*;
#[derive(Props)]
struct MyProps<'a> {
blah: u128,
b: &'a (),
}
fn main() {
// let p = unsafe { MyProps {}.memoize(&MyProps {}) };
// dbg!(p);
}