Skip to content

Commit

Permalink
Fixed ReactSharedInternals export in UMD bundle (#22117)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn authored Aug 18, 2021
1 parent bd25570 commit 9eb2aaa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react/src/forks/ReactSharedInternals.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -28,6 +29,7 @@ const ReactSharedInternals = {
};

if (__DEV__) {
ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
}

Expand Down

0 comments on commit 9eb2aaa

Please sign in to comment.