Skip to content

Latest commit

 

History

History

constructorClassInstance

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
function constructorClassInstance(workInProgress, nextProps, component) {
  let context = null
  let instance = new component(nextProps, context)
  workInProgress.memoizedState = instance.state || null
  cc(workInProgress, instance)
  return instance
}