(workInProgress, instance)
| 8449 | } |
| 8450 | |
| 8451 | function adoptClassInstance(workInProgress, instance) { |
| 8452 | instance.updater = updater; |
| 8453 | workInProgress.stateNode = instance; |
| 8454 | // The instance needs access to the fiber so that it can schedule updates |
| 8455 | set(instance, workInProgress); |
| 8456 | { |
| 8457 | instance._reactInternalInstance = fakeInternalInstance; |
| 8458 | } |
| 8459 | } |
| 8460 | |
| 8461 | function constructClassInstance(workInProgress, props) { |
| 8462 | var ctor = workInProgress.type; |
no test coverage detected