pub fn create_dynamic_node<F>(render_fn: F) -> VirtualNodewhere
F: FnMut() -> VirtualNode + 'static,Expand description
Constructs a VirtualNode::Dynamic from a render closure with hook context management.
§Arguments
FnMut() -> VirtualNode + 'static- The render closure that produces a virtual node tree. Called on initial render and on every signal update.
§Returns
VirtualNode- AVirtualNode::Dynamicwrapping the render closure with a freshHookContext.