(workInProgress, instance)
| 16513 | } |
| 16514 | |
| 16515 | function adoptClassInstance(workInProgress, instance) { |
| 16516 | instance.updater = classComponentUpdater; |
| 16517 | workInProgress.stateNode = instance; // The instance needs access to the fiber so that it can schedule updates |
| 16518 | |
| 16519 | set(instance, workInProgress); |
| 16520 | |
| 16521 | { |
| 16522 | instance._reactInternalInstance = fakeInternalInstance; |
| 16523 | } |
| 16524 | } |
| 16525 | |
| 16526 | function constructClassInstance(workInProgress, ctor, props) { |
| 16527 | var isLegacyContextConsumer = false; |
no test coverage detected