MCPcopy Create free account
hub / github.com/commissure/redbox-react / componentDidMount

Method componentDidMount

src/index.js:165–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163 }
164 static displayName = 'RedBox'
165 componentDidMount () {
166 this.el = document.createElement('div')
167 document.body.appendChild(this.el)
168 this.renderRedBoxError()
169 }
170 componentDidUpdate () {
171 this.renderRedBoxError()
172 }

Callers

nothing calls this directly

Calls 1

renderRedBoxErrorMethod · 0.95

Tested by

no test coverage detected