@@ -62,6 +62,7 @@ function formatProdErrorMessage(code) {
62
62
var ReactSharedInternals =
63
63
React . __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED ,
64
64
dynamicFeatureFlags = require ( "ReactFeatureFlags" ) ,
65
+ enableBigIntSupport = dynamicFeatureFlags . enableBigIntSupport ,
65
66
enableDebugTracing = dynamicFeatureFlags . enableDebugTracing ,
66
67
enableUseRefAccessWarning = dynamicFeatureFlags . enableUseRefAccessWarning ,
67
68
enableLazyContextPropagation =
@@ -2032,7 +2033,8 @@ function createChildReconciler(shouldTrackSideEffects) {
2032
2033
function createChild ( returnFiber , newChild , lanes ) {
2033
2034
if (
2034
2035
( "string" === typeof newChild && "" !== newChild ) ||
2035
- "number" === typeof newChild
2036
+ "number" === typeof newChild ||
2037
+ ( enableBigIntSupport && "bigint" === typeof newChild )
2036
2038
)
2037
2039
return (
2038
2040
( newChild = createFiberFromText (
@@ -2100,7 +2102,8 @@ function createChildReconciler(shouldTrackSideEffects) {
2100
2102
var key = null !== oldFiber ? oldFiber . key : null ;
2101
2103
if (
2102
2104
( "string" === typeof newChild && "" !== newChild ) ||
2103
- "number" === typeof newChild
2105
+ "number" === typeof newChild ||
2106
+ ( enableBigIntSupport && "bigint" === typeof newChild )
2104
2107
)
2105
2108
return null !== key
2106
2109
? null
@@ -2152,7 +2155,8 @@ function createChildReconciler(shouldTrackSideEffects) {
2152
2155
) {
2153
2156
if (
2154
2157
( "string" === typeof newChild && "" !== newChild ) ||
2155
- "number" === typeof newChild
2158
+ "number" === typeof newChild ||
2159
+ ( enableBigIntSupport && "bigint" === typeof newChild )
2156
2160
)
2157
2161
return (
2158
2162
( existingChildren = existingChildren . get ( newIdx ) || null ) ,
@@ -2529,7 +2533,8 @@ function createChildReconciler(shouldTrackSideEffects) {
2529
2533
throwOnInvalidObjectType ( returnFiber , newChild ) ;
2530
2534
}
2531
2535
return ( "string" === typeof newChild && "" !== newChild ) ||
2532
- "number" === typeof newChild
2536
+ "number" === typeof newChild ||
2537
+ ( enableBigIntSupport && "bigint" === typeof newChild )
2533
2538
? ( ( newChild = "" + newChild ) ,
2534
2539
null !== currentFirstChild && 6 === currentFirstChild . tag
2535
2540
? ( deleteRemainingChildren ( returnFiber , currentFirstChild . sibling ) ,
@@ -10636,7 +10641,7 @@ var slice = Array.prototype.slice,
10636
10641
return null ;
10637
10642
} ,
10638
10643
bundleType : 0 ,
10639
- version : "18.3.0-www-classic-4a28a0e2 " ,
10644
+ version : "18.3.0-www-classic-0830bd6c " ,
10640
10645
rendererPackageName : "react-art"
10641
10646
} ;
10642
10647
var internals$jscomp$inline_1320 = {
@@ -10667,7 +10672,7 @@ var internals$jscomp$inline_1320 = {
10667
10672
scheduleRoot : null ,
10668
10673
setRefreshHandler : null ,
10669
10674
getCurrentFiber : null ,
10670
- reconcilerVersion : "18.3.0-www-classic-4a28a0e2 "
10675
+ reconcilerVersion : "18.3.0-www-classic-0830bd6c "
10671
10676
} ;
10672
10677
if ( "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ ) {
10673
10678
var hook$jscomp$inline_1321 = __REACT_DEVTOOLS_GLOBAL_HOOK__ ;
0 commit comments