MCPcopy Create free account
hub / github.com/Lobos/react-ui / componentDidMount

Method componentDidMount

src/Modal.js:254–258  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

252 }
253
254 componentDidMount () {
255 if (this.props.isOpen) {
256 this.renderModal(this.props);
257 }
258 }
259
260 componentWillReceiveProps (newProps) {
261 if (!newProps.isOpen && !this.props.isOpen) {

Callers

nothing calls this directly

Calls 1

renderModalMethod · 0.95

Tested by

no test coverage detected