use std::future::Future; use dioxus_core::{component::AnyContext, 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(root); let mut renderer = TextRenderer::new(dom); let output = renderer.render(); } fn root(ctx: &mut AnyContext) -> VNode { // the regular html syntax // html! { // // // //