Fixed ReactSharedInternals export in UMD bundle (#22117)

This commit is contained in:
Brian Vaughn 2021-08-18 01:40:55 -04:00 committed by GitHub
parent bd255700d7
commit 9eb2aaaf81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@
import assign from 'object-assign';
import * as Scheduler from 'scheduler';
import ReactCurrentDispatcher from '../ReactCurrentDispatcher';
import ReactCurrentActQueue from '../ReactCurrentActQueue';
import ReactCurrentOwner from '../ReactCurrentOwner';
import ReactDebugCurrentFrame from '../ReactDebugCurrentFrame';
import ReactCurrentBatchConfig from '../ReactCurrentBatchConfig';
@ -28,6 +29,7 @@ const ReactSharedInternals = {
};
if (__DEV__) {
ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
}