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

Method constructor

packages/nerv/__tests__/lifecycle.spec.js:301–306  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

299 let doRender2 = null
300 class Outer extends Component {
301 constructor () {
302 super(...arguments)
303 this.state = {
304 foo: '1'
305 }
306 }
307
308 componentDidMount () {
309 doRender1 = () => {

Callers

nothing calls this directly

Calls 2

setStateMethod · 0.80
forceUpdateMethod · 0.80

Tested by

no test coverage detected