(workInProgress, instance)
| 7717 | } |
| 7718 | |
| 7719 | function adoptClassInstance(workInProgress, instance) { |
| 7720 | instance.updater = updater; |
| 7721 | workInProgress.stateNode = instance; |
| 7722 | // The instance needs access to the fiber so that it can schedule updates |
| 7723 | set(instance, workInProgress); |
| 7724 | { |
| 7725 | instance._reactInternalInstance = fakeInternalInstance; |
| 7726 | } |
| 7727 | } |
| 7728 | |
| 7729 | function constructClassInstance(workInProgress, props) { |
| 7730 | var ctor = workInProgress.type; |
no test coverage detected