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

Class Comp

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

Source from the content-addressed store, hash-verified

119 const portal = document.createElement('div')
120
121 class Comp extends Component {
122 render () {
123 return <div>{this.context.foo + '-' + this.context.getFoo()}</div>
124 }
125 }
126
127 class Parent extends Component {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected