(workInProgress, instance)
| 8229 | } |
| 8230 | |
| 8231 | function adoptClassInstance(workInProgress, instance) { |
| 8232 | instance.updater = updater; |
| 8233 | workInProgress.stateNode = instance; |
| 8234 | // The instance needs access to the fiber so that it can schedule updates |
| 8235 | set(instance, workInProgress); |
| 8236 | { |
| 8237 | instance._reactInternalInstance = fakeInternalInstance; |
| 8238 | } |
| 8239 | } |
| 8240 | |
| 8241 | function constructClassInstance(workInProgress, props) { |
| 8242 | var ctor = workInProgress.type; |
no test coverage detected