@@ -66,7 +66,7 @@ if (__DEV__) {
6666      return self;
6767    }
6868
69-     var ReactVersion = "18.3.0-www-classic-361724d4 ";
69+     var ReactVersion = "18.3.0-www-classic-10cc6982 ";
7070
7171    var LegacyRoot = 0;
7272    var ConcurrentRoot = 1;
@@ -198,6 +198,7 @@ if (__DEV__) {
198198    var enableAsyncActions = true; // Logs additional User Timing API marks for use with an experimental profiling tool.
199199
200200    var enableSchedulingProfiler = dynamicFeatureFlags.enableSchedulingProfiler;
201+     var enableBigIntSupport = false; // Flow magic to verify the exports of this file match the original version.
201202
202203    var FunctionComponent = 0;
203204    var ClassComponent = 1;
@@ -6865,12 +6866,14 @@ if (__DEV__) {
68656866      function createChild(returnFiber, newChild, lanes, debugInfo) {
68666867        if (
68676868          (typeof newChild === "string" && newChild !== "") ||
6868-           typeof newChild === "number"
6869+           typeof newChild === "number" ||
6870+           enableBigIntSupport
68696871        ) {
68706872          // Text nodes don't have keys. If the previous node is implicitly keyed
68716873          // we can continue to replace it without aborting even if it is not a text
68726874          // node.
68736875          var created = createFiberFromText(
6876+             // $FlowFixMe[unsafe-addition] Flow doesn't want us to use `+` operator with string and bigint
68746877            "" + newChild,
68756878            returnFiber.mode,
68766879            lanes
@@ -6998,7 +7001,8 @@ if (__DEV__) {
69987001
69997002        if (
70007003          (typeof newChild === "string" && newChild !== "") ||
7001-           typeof newChild === "number"
7004+           typeof newChild === "number" ||
7005+           enableBigIntSupport
70027006        ) {
70037007          // Text nodes don't have keys. If the previous node is implicitly keyed
70047008          // we can continue to replace it without aborting even if it is not a text
@@ -7009,7 +7013,7 @@ if (__DEV__) {
70097013
70107014          return updateTextNode(
70117015            returnFiber,
7012-             oldFiber,
7016+             oldFiber, // $FlowFixMe[unsafe-addition] Flow doesn't want us to use `+` operator with string and bigint 
70137017            "" + newChild,
70147018            lanes,
70157019            debugInfo
@@ -7124,14 +7128,15 @@ if (__DEV__) {
71247128      ) {
71257129        if (
71267130          (typeof newChild === "string" && newChild !== "") ||
7127-           typeof newChild === "number"
7131+           typeof newChild === "number" ||
7132+           enableBigIntSupport
71287133        ) {
71297134          // Text nodes don't have keys, so we neither have to check the old nor
71307135          // new node for the key. If both are text nodes, they match.
71317136          var matchedFiber = existingChildren.get(newIdx) || null;
71327137          return updateTextNode(
71337138            returnFiber,
7134-             matchedFiber,
7139+             matchedFiber, // $FlowFixMe[unsafe-addition] Flow doesn't want us to use `+` operator with string and bigint 
71357140            "" + newChild,
71367141            lanes,
71377142            debugInfo
@@ -7972,12 +7977,13 @@ if (__DEV__) {
79727977
79737978        if (
79747979          (typeof newChild === "string" && newChild !== "") ||
7975-           typeof newChild === "number"
7980+           typeof newChild === "number" ||
7981+           enableBigIntSupport
79767982        ) {
79777983          return placeSingleChild(
79787984            reconcileSingleTextNode(
79797985              returnFiber,
7980-               currentFirstChild,
7986+               currentFirstChild, // $FlowFixMe[unsafe-addition] Flow doesn't want us to use `+` operator with string and bigint 
79817987              "" + newChild,
79827988              lanes
79837989            )
0 commit comments