(workInProgress, instance)
| 8607 | } |
| 8608 | |
| 8609 | function adoptClassInstance(workInProgress, instance) { |
| 8610 | instance.updater = updater; |
| 8611 | workInProgress.stateNode = instance; |
| 8612 | // The instance needs access to the fiber so that it can schedule updates |
| 8613 | set(instance, workInProgress); |
| 8614 | { |
| 8615 | instance._reactInternalInstance = fakeInternalInstance; |
| 8616 | } |
| 8617 | } |
| 8618 | |
| 8619 | function constructClassInstance(workInProgress, props) { |
| 8620 | var ctor = workInProgress.type; |
no test coverage detected