mountComponentIntoNode method shared