(workInProgress, instance)
| 7686 | } |
| 7687 | |
| 7688 | function adoptClassInstance(workInProgress, instance) { |
| 7689 | instance.updater = updater; |
| 7690 | workInProgress.stateNode = instance; |
| 7691 | // The instance needs access to the fiber so that it can schedule updates |
| 7692 | set(instance, workInProgress); |
| 7693 | { |
| 7694 | instance._reactInternalInstance = fakeInternalInstance; |
| 7695 | } |
| 7696 | } |
| 7697 | |
| 7698 | function constructClassInstance(workInProgress, props) { |
| 7699 | var ctor = workInProgress.type; |
no test coverage detected