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

Class Parent

packages/nerv/__tests__/dom.spec.js:27–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 const portal2 = document.createElement('div')
26
27 class Parent extends Component {
28 render () {
29 return null
30 }
31 getChildContext () {
32 return { value: this.props.value }
33 }
34 componentDidMount () {
35 renderSubtreeIntoContainer(this, <Middle />, portal1)
36 }
37 }
38
39 let m1, m2
40

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected