(workInProgress, instance)
| 8350 | } |
| 8351 | |
| 8352 | function adoptClassInstance(workInProgress, instance) { |
| 8353 | instance.updater = updater; |
| 8354 | workInProgress.stateNode = instance; |
| 8355 | // The instance needs access to the fiber so that it can schedule updates |
| 8356 | set(instance, workInProgress); |
| 8357 | { |
| 8358 | instance._reactInternalInstance = fakeInternalInstance; |
| 8359 | } |
| 8360 | } |
| 8361 | |
| 8362 | function constructClassInstance(workInProgress, props) { |
| 8363 | var ctor = workInProgress.type; |
no test coverage detected