pub(crate) fn mount_in_place(
        self,
        parent: Element,
        next_sibling: NodeRef,
        node_ref: NodeRef,
        props: COMP::Properties,
    ) -> Scope<COMP> {
        let placeholder = {
            let placeholder: Node = document().create_text_node("").into();
            insert_node(&placeholder, &parent, next_sibling.get());
            node_ref.set(Some(placeholder.clone()));
            VNode::VRef(placeholder)
        };

        self.schedule(UpdateEvent::First.into());
        self.process(ComponentLifecycleEvent::Create(CreateEvent {
            parent,
            next_sibling,
            placeholder,
            node_ref,
            props,
            scope: self.clone(),
        }));

        self
    }
/// Mounts a component with `props` to the specified `element` in the DOM.
Mounts a component with `props` to the specified `element` in the DOM.
Mounts a component with ` props ` to the specified ` element ` in the DOM .
pub(crate) fn mount_in_place(
        self,
        parent: Element,
        next_sibling: NodeRef,
        node_ref: NodeRef,
        props: COMP::Properties,
    ) -> Scope<COMP> {
        let placeholder = {
            let placeholder: Node = document().create_text_node("").into();
            insert_node(&placeholder, &parent, next_sibling.get());
            node_ref.set(Some(placeholder.clone()));
            VNode::VRef(placeholder)
        };
        self.schedule(UpdateEvent::First.into());
        self.process(ComponentLifecycleEvent::Create(CreateEvent {
            parent,
            next_sibling,
            placeholder,
            node_ref,
            props,
            scope: self.clone(),
        }));
        self
    }
pub ( crate ) fn mount_in_place ( self , parent : Element , next_sibling : NodeRef , node_ref : NodeRef , props : COMP :: Properties , ) -> Scope < COMP > { let placeholder = { let placeholder : Node = document ( ) . create_text_node ( " " ) . into ( ) ; insert_node ( & placeholder , & parent , next_sibling . get ( ) ) ; node_ref . set ( Some ( placeholder . clone ( ) ) ) ; VNode :: VRef ( placeholder ) } ; self . schedule ( UpdateEvent :: First . into ( ) ) ; self . process ( ComponentLifecycleEvent :: Create ( CreateEvent { parent , next_sibling , placeholder , node_ref , props , scope : self . clone ( ) , } ) ) ; self }
Mounts a component with `props` to the specified `element` in the DOM.
Mounts a component with ` props ` to the specified ` element ` in the DOM .
self
parent
Element
next_sibling
NodeRef
node_ref
NodeRef
props
COMP::Properties
self
parent
Element
next_sibling
NodeRef
node_ref
NodeRef
props
COMP::Properties