(workInProgress, instance)
| 18152 | } |
| 18153 | |
| 18154 | function adoptClassInstance(workInProgress, instance) { |
| 18155 | instance.updater = classComponentUpdater; |
| 18156 | workInProgress.stateNode = instance; // The instance needs access to the fiber so that it can schedule updates |
| 18157 | |
| 18158 | set(instance, workInProgress); |
| 18159 | |
| 18160 | { |
| 18161 | instance._reactInternalInstance = fakeInternalInstance; |
| 18162 | } |
| 18163 | } |
| 18164 | |
| 18165 | function constructClassInstance(workInProgress, ctor, props) { |
| 18166 | var isLegacyContextConsumer = false; |
no test coverage detected
searching dependent graphs…