use std::future::Future; use dioxus_core::{prelude::*, virtual_dom::Properties}; // 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(); } #[derive(PartialEq)] struct Props { name: String, } impl Properties for Props {} fn root(ctx: &mut Context) -> VNode { // the regular html syntax // html! { // // // //