(workInProgress, instance)
| 8494 | } |
| 8495 | |
| 8496 | function adoptClassInstance(workInProgress, instance) { |
| 8497 | instance.updater = updater; |
| 8498 | workInProgress.stateNode = instance; |
| 8499 | // The instance needs access to the fiber so that it can schedule updates |
| 8500 | set(instance, workInProgress); |
| 8501 | { |
| 8502 | instance._reactInternalInstance = fakeInternalInstance; |
| 8503 | } |
| 8504 | } |
| 8505 | |
| 8506 | function constructClassInstance(workInProgress, props) { |
| 8507 | var ctor = workInProgress.type; |
no test coverage detected