(workInProgress, instance)
| 12953 | } |
| 12954 | |
| 12955 | function adoptClassInstance(workInProgress, instance) { |
| 12956 | instance.updater = classComponentUpdater; |
| 12957 | workInProgress.stateNode = instance; // The instance needs access to the fiber so that it can schedule updates |
| 12958 | |
| 12959 | set(instance, workInProgress); |
| 12960 | |
| 12961 | { |
| 12962 | instance._reactInternalInstance = fakeInternalInstance; |
| 12963 | } |
| 12964 | } |
| 12965 | |
| 12966 | function constructClassInstance(workInProgress, ctor, props) { |
| 12967 | var isLegacyContextConsumer = false; |
no test coverage detected