use std::future::Future; use dioxus_core::prelude::*; // use virtual_dom_rs::Closure; // Stop-gap while developing // Need to update the macro type VirtualNode = VNode; pub fn main() { let dom = VirtualDom::new_with_props(root); // let mut renderer = TextRenderer::new(dom); // let output = renderer.render(); } struct Props { name: String, } fn root(ctx: &mut Context) -> VNode { // the regular html syntax // html! { // // // //