MCPcopy
hub / github.com/reactjs/react-modal / getParentElement

Function getParentElement

src/components/Modal.js:26–28  ·  view source on GitHub ↗
(parentSelector)

Source from the content-addressed store, hash-verified

24 : ReactDOM.unstable_renderSubtreeIntoContainer;
25
26function getParentElement(parentSelector) {
27 return parentSelector();
28}
29
30class Modal extends Component {
31 static setAppElement(element) {

Callers 3

componentDidMountMethod · 0.85
ModalClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…