(workInProgress, instance)
| 7589 | } |
| 7590 | |
| 7591 | function adoptClassInstance(workInProgress, instance) { |
| 7592 | instance.updater = updater; |
| 7593 | workInProgress.stateNode = instance; |
| 7594 | // The instance needs access to the fiber so that it can schedule updates |
| 7595 | set(instance, workInProgress); |
| 7596 | { |
| 7597 | instance._reactInternalInstance = fakeInternalInstance; |
| 7598 | } |
| 7599 | } |
| 7600 | |
| 7601 | function constructClassInstance(workInProgress, props) { |
| 7602 | var ctor = workInProgress.type; |
no test coverage detected