usedioxus::prelude::*;/// Renders a component to a static HTML string via `dioxus-ssr`, so tests can
/// assert on context wiring and structure without a browser.
pubfnrender(app:fn()-> Element)-> String{letmut dom =VirtualDom::new(app);
dom.rebuild_in_place();dioxus_ssr::render(&dom)}