mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 14:40:44 +00:00
20 lines
547 B
Rust
20 lines
547 B
Rust
fn main() {}
|
|
|
|
// use dioxus::*;
|
|
// use dioxus_core as dioxus;
|
|
// use dioxus_core::prelude::*;
|
|
|
|
// static Example: FC<()> = |cx| {
|
|
// let list = (0..10).map(|f| LazyNodes::new(move |f| todo!()));
|
|
|
|
// cx.render(LazyNodes::new(move |cx| {
|
|
// let bump = cx.bump();
|
|
// cx.raw_element("div")
|
|
// .children([
|
|
// cx.text(format_args!("hello")),
|
|
// cx.text(format_args!("hello")),
|
|
// cx.fragment_from_iter(list),
|
|
// ])
|
|
// .finish()
|
|
// }))
|
|
// };
|