fn element(tag: &str) -> Self {
        let el = get_next_element();
        if let Some(el) = el {
            Self {
                node: DomNode::from_web_sys(el.into()),
            }
        } else {
            Self {
                node: DomNode::element(tag),
            }
        }
    }
/// When hydrating, instead of creating a new node, this will attempt to hydrate an existing
/// node.
When hydrating, instead of creating a new node, this will attempt to hydrate an existing
node.
When hydrating instead of creating a new node this will attempt to hydrate an existing node .
fn element(tag: &str) -> Self {
        let el = get_next_element();
        if let Some(el) = el {
            Self {
                node: DomNode::from_web_sys(el.into()),
            }
        } else {
            Self {
                node: DomNode::element(tag),
            }
        }
    }
fn element ( tag : & str ) -> Self { let el = get_next_element ( ) ; if let Some ( el ) = el { Self { node : DomNode :: from_web_sys ( el . into ( ) ) , } } else { Self { node : DomNode :: element ( tag ) , } } }
When hydrating, instead of creating a new node, this will attempt to hydrate an existing
node.
When hydrating instead of creating a new node this will attempt to hydrate an existing node .
tag
&str