MCPcopy
hub / github.com/NervJS/nerv / componentDidMount

Method componentDidMount

packages/nerv/__tests__/portal.spec.js:26–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24describe('createPortal', () => {
25 class Portal extends Component {
26 componentDidMount () {
27 this.setContainer(this.props.container)
28 this.forceUpdate(this.props.onRendered)
29 }
30
31 componentWillReceiveProps (nextProps) {
32 if (nextProps.container !== this.props.container) {

Callers

nothing calls this directly

Calls 2

setContainerMethod · 0.95
forceUpdateMethod · 0.80

Tested by

no test coverage detected