(workInProgress, instance)
| 8391 | } |
| 8392 | |
| 8393 | function adoptClassInstance(workInProgress, instance) { |
| 8394 | instance.updater = updater; |
| 8395 | workInProgress.stateNode = instance; |
| 8396 | // The instance needs access to the fiber so that it can schedule updates |
| 8397 | set(instance, workInProgress); |
| 8398 | { |
| 8399 | instance._reactInternalInstance = fakeInternalInstance; |
| 8400 | } |
| 8401 | } |
| 8402 | |
| 8403 | function constructClassInstance(workInProgress, props) { |
| 8404 | var ctor = workInProgress.type; |
no test coverage detected