use std::future::Future; use dioxus_core::{component::AnyContext, prelude::*}; use virtual_dom_rs::Closure; pub fn main() { let dom = VirtualDom::new(root); let mut renderer = TextRenderer::new(dom); let output = renderer.render(); } fn root(ctx: &mut AnyContext) -> VirtualNode { // the regular html syntax // html! { // // // //