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