MCPcopy Create free account
hub / github.com/reactjs/react-modal / componentDidMount

Method componentDidMount

specs/Modal.spec.js:792–796  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

790 }
791
792 componentDidMount() {
793 modal.node.className.should.be.eql("portal");
794
795 this.setState({ classModifier: "-modifier" });
796 }
797
798 componentDidUpdate() {
799 modal.node.className.should.be.eql("portal-modifier");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected