123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- fn main() {}
- use dioxus_core::prelude::*;
- fn App(cx: Context<()>) -> DomTree {
- //
- let vak = cx.use_suspense(
- || async {},
- |c, res| {
- //
- c.render(LazyNodes::new(move |f| f.text(format_args!(""))))
- },
- );
- let d1 = cx.render(LazyNodes::new(move |f| {
- f.raw_element(
- "div",
- None,
- &mut [],
- &[],
- f.bump().alloc([
- f.fragment_from_iter(vak),
- f.text(format_args!("")),
- f.text(format_args!("")),
- f.text(format_args!("")),
- f.text(format_args!("")),
- ]),
- None,
- )
- }));
- cx.render(LazyNodes::new(move |f| {
- f.raw_element(
- "div",
- None,
- &mut [],
- &[],
- f.bump().alloc([
- f.text(format_args!("")),
- f.text(format_args!("")),
- f.text(format_args!("")),
- f.text(format_args!("")),
- f.fragment_from_iter(d1),
- ]),
- None,
- )
- }))
- }
|