react 19.1.0-canary-f83903bf-20250212 → 19.1.0-canary-32b0cad8-20250213
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react-jsx-dev-runtime.development.js +88 -418
- package/cjs/react-jsx-dev-runtime.react-server.development.js +108 -420
- package/cjs/react-jsx-runtime.development.js +98 -419
- package/cjs/react-jsx-runtime.react-server.development.js +108 -420
- package/cjs/react.development.js +99 -400
- package/cjs/react.production.js +1 -4
- package/cjs/react.react-server.development.js +97 -398
- package/cjs/react.react-server.production.js +4 -1
- package/package.json +1 -1
@@ -14,7 +14,7 @@
|
|
14
14
|
function getComponentNameFromType(type) {
|
15
15
|
if (null == type) return null;
|
16
16
|
if ("function" === typeof type)
|
17
|
-
return type.$$typeof === REACT_CLIENT_REFERENCE
|
17
|
+
return type.$$typeof === REACT_CLIENT_REFERENCE
|
18
18
|
? null
|
19
19
|
: type.displayName || type.name || null;
|
20
20
|
if ("string" === typeof type) return type;
|
@@ -94,255 +94,20 @@
|
|
94
94
|
return testStringCoercion(value);
|
95
95
|
}
|
96
96
|
}
|
97
|
-
function
|
98
|
-
|
99
|
-
if (
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
prevGroupCollapsed = console.groupCollapsed;
|
106
|
-
prevGroupEnd = console.groupEnd;
|
107
|
-
var props = {
|
108
|
-
configurable: !0,
|
109
|
-
enumerable: !0,
|
110
|
-
value: disabledLog,
|
111
|
-
writable: !0
|
112
|
-
};
|
113
|
-
Object.defineProperties(console, {
|
114
|
-
info: props,
|
115
|
-
log: props,
|
116
|
-
warn: props,
|
117
|
-
error: props,
|
118
|
-
group: props,
|
119
|
-
groupCollapsed: props,
|
120
|
-
groupEnd: props
|
121
|
-
});
|
122
|
-
}
|
123
|
-
disabledDepth++;
|
124
|
-
}
|
125
|
-
function reenableLogs() {
|
126
|
-
disabledDepth--;
|
127
|
-
if (0 === disabledDepth) {
|
128
|
-
var props = { configurable: !0, enumerable: !0, writable: !0 };
|
129
|
-
Object.defineProperties(console, {
|
130
|
-
log: assign({}, props, { value: prevLog }),
|
131
|
-
info: assign({}, props, { value: prevInfo }),
|
132
|
-
warn: assign({}, props, { value: prevWarn }),
|
133
|
-
error: assign({}, props, { value: prevError }),
|
134
|
-
group: assign({}, props, { value: prevGroup }),
|
135
|
-
groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
|
136
|
-
groupEnd: assign({}, props, { value: prevGroupEnd })
|
137
|
-
});
|
138
|
-
}
|
139
|
-
0 > disabledDepth &&
|
140
|
-
console.error(
|
141
|
-
"disabledDepth fell below zero. This is a bug in React. Please file an issue."
|
142
|
-
);
|
143
|
-
}
|
144
|
-
function describeBuiltInComponentFrame(name) {
|
145
|
-
if (void 0 === prefix)
|
146
|
-
try {
|
147
|
-
throw Error();
|
148
|
-
} catch (x) {
|
149
|
-
var match = x.stack.trim().match(/\n( *(at )?)/);
|
150
|
-
prefix = (match && match[1]) || "";
|
151
|
-
suffix =
|
152
|
-
-1 < x.stack.indexOf("\n at")
|
153
|
-
? " (<anonymous>)"
|
154
|
-
: -1 < x.stack.indexOf("@")
|
155
|
-
? "@unknown:0:0"
|
156
|
-
: "";
|
157
|
-
}
|
158
|
-
return "\n" + prefix + name + suffix;
|
159
|
-
}
|
160
|
-
function describeNativeComponentFrame(fn, construct) {
|
161
|
-
if (!fn || reentry) return "";
|
162
|
-
var frame = componentFrameCache.get(fn);
|
163
|
-
if (void 0 !== frame) return frame;
|
164
|
-
reentry = !0;
|
165
|
-
frame = Error.prepareStackTrace;
|
166
|
-
Error.prepareStackTrace = void 0;
|
167
|
-
var previousDispatcher = null;
|
168
|
-
previousDispatcher = ReactSharedInternals.H;
|
169
|
-
ReactSharedInternals.H = null;
|
170
|
-
disableLogs();
|
97
|
+
function getTaskName(type) {
|
98
|
+
if (type === REACT_FRAGMENT_TYPE) return "<>";
|
99
|
+
if (
|
100
|
+
"object" === typeof type &&
|
101
|
+
null !== type &&
|
102
|
+
type.$$typeof === REACT_LAZY_TYPE
|
103
|
+
)
|
104
|
+
return "<...>";
|
171
105
|
try {
|
172
|
-
var
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
var Fake = function () {
|
177
|
-
throw Error();
|
178
|
-
};
|
179
|
-
Object.defineProperty(Fake.prototype, "props", {
|
180
|
-
set: function () {
|
181
|
-
throw Error();
|
182
|
-
}
|
183
|
-
});
|
184
|
-
if ("object" === typeof Reflect && Reflect.construct) {
|
185
|
-
try {
|
186
|
-
Reflect.construct(Fake, []);
|
187
|
-
} catch (x) {
|
188
|
-
var control = x;
|
189
|
-
}
|
190
|
-
Reflect.construct(fn, [], Fake);
|
191
|
-
} else {
|
192
|
-
try {
|
193
|
-
Fake.call();
|
194
|
-
} catch (x$0) {
|
195
|
-
control = x$0;
|
196
|
-
}
|
197
|
-
fn.call(Fake.prototype);
|
198
|
-
}
|
199
|
-
} else {
|
200
|
-
try {
|
201
|
-
throw Error();
|
202
|
-
} catch (x$1) {
|
203
|
-
control = x$1;
|
204
|
-
}
|
205
|
-
(Fake = fn()) &&
|
206
|
-
"function" === typeof Fake.catch &&
|
207
|
-
Fake.catch(function () {});
|
208
|
-
}
|
209
|
-
} catch (sample) {
|
210
|
-
if (sample && control && "string" === typeof sample.stack)
|
211
|
-
return [sample.stack, control.stack];
|
212
|
-
}
|
213
|
-
return [null, null];
|
214
|
-
}
|
215
|
-
};
|
216
|
-
RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
217
|
-
"DetermineComponentFrameRoot";
|
218
|
-
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
219
|
-
RunInRootFrame.DetermineComponentFrameRoot,
|
220
|
-
"name"
|
221
|
-
);
|
222
|
-
namePropDescriptor &&
|
223
|
-
namePropDescriptor.configurable &&
|
224
|
-
Object.defineProperty(
|
225
|
-
RunInRootFrame.DetermineComponentFrameRoot,
|
226
|
-
"name",
|
227
|
-
{ value: "DetermineComponentFrameRoot" }
|
228
|
-
);
|
229
|
-
var _RunInRootFrame$Deter =
|
230
|
-
RunInRootFrame.DetermineComponentFrameRoot(),
|
231
|
-
sampleStack = _RunInRootFrame$Deter[0],
|
232
|
-
controlStack = _RunInRootFrame$Deter[1];
|
233
|
-
if (sampleStack && controlStack) {
|
234
|
-
var sampleLines = sampleStack.split("\n"),
|
235
|
-
controlLines = controlStack.split("\n");
|
236
|
-
for (
|
237
|
-
_RunInRootFrame$Deter = namePropDescriptor = 0;
|
238
|
-
namePropDescriptor < sampleLines.length &&
|
239
|
-
!sampleLines[namePropDescriptor].includes(
|
240
|
-
"DetermineComponentFrameRoot"
|
241
|
-
);
|
242
|
-
|
243
|
-
)
|
244
|
-
namePropDescriptor++;
|
245
|
-
for (
|
246
|
-
;
|
247
|
-
_RunInRootFrame$Deter < controlLines.length &&
|
248
|
-
!controlLines[_RunInRootFrame$Deter].includes(
|
249
|
-
"DetermineComponentFrameRoot"
|
250
|
-
);
|
251
|
-
|
252
|
-
)
|
253
|
-
_RunInRootFrame$Deter++;
|
254
|
-
if (
|
255
|
-
namePropDescriptor === sampleLines.length ||
|
256
|
-
_RunInRootFrame$Deter === controlLines.length
|
257
|
-
)
|
258
|
-
for (
|
259
|
-
namePropDescriptor = sampleLines.length - 1,
|
260
|
-
_RunInRootFrame$Deter = controlLines.length - 1;
|
261
|
-
1 <= namePropDescriptor &&
|
262
|
-
0 <= _RunInRootFrame$Deter &&
|
263
|
-
sampleLines[namePropDescriptor] !==
|
264
|
-
controlLines[_RunInRootFrame$Deter];
|
265
|
-
|
266
|
-
)
|
267
|
-
_RunInRootFrame$Deter--;
|
268
|
-
for (
|
269
|
-
;
|
270
|
-
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
|
271
|
-
namePropDescriptor--, _RunInRootFrame$Deter--
|
272
|
-
)
|
273
|
-
if (
|
274
|
-
sampleLines[namePropDescriptor] !==
|
275
|
-
controlLines[_RunInRootFrame$Deter]
|
276
|
-
) {
|
277
|
-
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
|
278
|
-
do
|
279
|
-
if (
|
280
|
-
(namePropDescriptor--,
|
281
|
-
_RunInRootFrame$Deter--,
|
282
|
-
0 > _RunInRootFrame$Deter ||
|
283
|
-
sampleLines[namePropDescriptor] !==
|
284
|
-
controlLines[_RunInRootFrame$Deter])
|
285
|
-
) {
|
286
|
-
var _frame =
|
287
|
-
"\n" +
|
288
|
-
sampleLines[namePropDescriptor].replace(
|
289
|
-
" at new ",
|
290
|
-
" at "
|
291
|
-
);
|
292
|
-
fn.displayName &&
|
293
|
-
_frame.includes("<anonymous>") &&
|
294
|
-
(_frame = _frame.replace("<anonymous>", fn.displayName));
|
295
|
-
"function" === typeof fn &&
|
296
|
-
componentFrameCache.set(fn, _frame);
|
297
|
-
return _frame;
|
298
|
-
}
|
299
|
-
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
|
300
|
-
}
|
301
|
-
break;
|
302
|
-
}
|
303
|
-
}
|
304
|
-
} finally {
|
305
|
-
(reentry = !1),
|
306
|
-
(ReactSharedInternals.H = previousDispatcher),
|
307
|
-
reenableLogs(),
|
308
|
-
(Error.prepareStackTrace = frame);
|
106
|
+
var name = getComponentNameFromType(type);
|
107
|
+
return name ? "<" + name + ">" : "<...>";
|
108
|
+
} catch (x) {
|
109
|
+
return "<...>";
|
309
110
|
}
|
310
|
-
sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
|
311
|
-
? describeBuiltInComponentFrame(sampleLines)
|
312
|
-
: "";
|
313
|
-
"function" === typeof fn && componentFrameCache.set(fn, sampleLines);
|
314
|
-
return sampleLines;
|
315
|
-
}
|
316
|
-
function describeUnknownElementTypeFrameInDEV(type) {
|
317
|
-
if (null == type) return "";
|
318
|
-
if ("function" === typeof type) {
|
319
|
-
var prototype = type.prototype;
|
320
|
-
return describeNativeComponentFrame(
|
321
|
-
type,
|
322
|
-
!(!prototype || !prototype.isReactComponent)
|
323
|
-
);
|
324
|
-
}
|
325
|
-
if ("string" === typeof type) return describeBuiltInComponentFrame(type);
|
326
|
-
switch (type) {
|
327
|
-
case REACT_SUSPENSE_TYPE:
|
328
|
-
return describeBuiltInComponentFrame("Suspense");
|
329
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
330
|
-
return describeBuiltInComponentFrame("SuspenseList");
|
331
|
-
}
|
332
|
-
if ("object" === typeof type)
|
333
|
-
switch (type.$$typeof) {
|
334
|
-
case REACT_FORWARD_REF_TYPE:
|
335
|
-
return describeNativeComponentFrame(type.render, !1);
|
336
|
-
case REACT_MEMO_TYPE:
|
337
|
-
return describeUnknownElementTypeFrameInDEV(type.type);
|
338
|
-
case REACT_LAZY_TYPE:
|
339
|
-
prototype = type._payload;
|
340
|
-
type = type._init;
|
341
|
-
try {
|
342
|
-
return describeUnknownElementTypeFrameInDEV(type(prototype));
|
343
|
-
} catch (x) {}
|
344
|
-
}
|
345
|
-
return "";
|
346
111
|
}
|
347
112
|
function getOwner() {
|
348
113
|
var dispatcher = ReactSharedInternals.A;
|
@@ -380,7 +145,16 @@
|
|
380
145
|
componentName = this.props.ref;
|
381
146
|
return void 0 !== componentName ? componentName : null;
|
382
147
|
}
|
383
|
-
function ReactElement(
|
148
|
+
function ReactElement(
|
149
|
+
type,
|
150
|
+
key,
|
151
|
+
self,
|
152
|
+
source,
|
153
|
+
owner,
|
154
|
+
props,
|
155
|
+
debugStack,
|
156
|
+
debugTask
|
157
|
+
) {
|
384
158
|
self = props.ref;
|
385
159
|
type = {
|
386
160
|
$$typeof: REACT_ELEMENT_TYPE,
|
@@ -408,6 +182,18 @@
|
|
408
182
|
writable: !0,
|
409
183
|
value: null
|
410
184
|
});
|
185
|
+
Object.defineProperty(type, "_debugStack", {
|
186
|
+
configurable: !1,
|
187
|
+
enumerable: !1,
|
188
|
+
writable: !0,
|
189
|
+
value: debugStack
|
190
|
+
});
|
191
|
+
Object.defineProperty(type, "_debugTask", {
|
192
|
+
configurable: !1,
|
193
|
+
enumerable: !1,
|
194
|
+
writable: !0,
|
195
|
+
value: debugTask
|
196
|
+
});
|
411
197
|
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
412
198
|
return type;
|
413
199
|
}
|
@@ -417,71 +203,26 @@
|
|
417
203
|
maybeKey,
|
418
204
|
isStaticChildren,
|
419
205
|
source,
|
420
|
-
self
|
206
|
+
self,
|
207
|
+
debugStack,
|
208
|
+
debugTask
|
421
209
|
) {
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
|
439
|
-
void 0 !== type.getModuleId))
|
440
|
-
) {
|
441
|
-
var children = config.children;
|
442
|
-
if (void 0 !== children)
|
443
|
-
if (isStaticChildren)
|
444
|
-
if (isArrayImpl(children)) {
|
445
|
-
for (
|
446
|
-
isStaticChildren = 0;
|
447
|
-
isStaticChildren < children.length;
|
448
|
-
isStaticChildren++
|
449
|
-
)
|
450
|
-
validateChildKeys(children[isStaticChildren], type);
|
451
|
-
Object.freeze && Object.freeze(children);
|
452
|
-
} else
|
453
|
-
console.error(
|
454
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
455
|
-
);
|
456
|
-
else validateChildKeys(children, type);
|
457
|
-
} else {
|
458
|
-
children = "";
|
459
|
-
if (
|
460
|
-
void 0 === type ||
|
461
|
-
("object" === typeof type &&
|
462
|
-
null !== type &&
|
463
|
-
0 === Object.keys(type).length)
|
464
|
-
)
|
465
|
-
children +=
|
466
|
-
" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
|
467
|
-
null === type
|
468
|
-
? (isStaticChildren = "null")
|
469
|
-
: isArrayImpl(type)
|
470
|
-
? (isStaticChildren = "array")
|
471
|
-
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
|
472
|
-
? ((isStaticChildren =
|
473
|
-
"<" +
|
474
|
-
(getComponentNameFromType(type.type) || "Unknown") +
|
475
|
-
" />"),
|
476
|
-
(children =
|
477
|
-
" Did you accidentally export a JSX literal instead of a component?"))
|
478
|
-
: (isStaticChildren = typeof type);
|
479
|
-
console.error(
|
480
|
-
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
481
|
-
isStaticChildren,
|
482
|
-
children
|
483
|
-
);
|
484
|
-
}
|
210
|
+
var children = config.children;
|
211
|
+
if (void 0 !== children)
|
212
|
+
if (isStaticChildren)
|
213
|
+
if (isArrayImpl(children)) {
|
214
|
+
for (
|
215
|
+
isStaticChildren = 0;
|
216
|
+
isStaticChildren < children.length;
|
217
|
+
isStaticChildren++
|
218
|
+
)
|
219
|
+
validateChildKeys(children[isStaticChildren]);
|
220
|
+
Object.freeze && Object.freeze(children);
|
221
|
+
} else
|
222
|
+
console.error(
|
223
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
224
|
+
);
|
225
|
+
else validateChildKeys(children);
|
485
226
|
if (hasOwnProperty.call(config, "key")) {
|
486
227
|
children = getComponentNameFromType(type);
|
487
228
|
var keys = Object.keys(config).filter(function (k) {
|
@@ -520,88 +261,23 @@
|
|
520
261
|
? type.displayName || type.name || "Unknown"
|
521
262
|
: type
|
522
263
|
);
|
523
|
-
return ReactElement(
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
for (var i = 0; i < node.length; i++) {
|
533
|
-
var child = node[i];
|
534
|
-
isValidElement(child) && validateExplicitKey(child, parentType);
|
535
|
-
}
|
536
|
-
else if (isValidElement(node))
|
537
|
-
node._store && (node._store.validated = 1);
|
538
|
-
else if (
|
539
|
-
(null === node || "object" !== typeof node
|
540
|
-
? (i = null)
|
541
|
-
: ((i =
|
542
|
-
(MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
|
543
|
-
node["@@iterator"]),
|
544
|
-
(i = "function" === typeof i ? i : null)),
|
545
|
-
"function" === typeof i &&
|
546
|
-
i !== node.entries &&
|
547
|
-
((i = i.call(node)), i !== node))
|
548
|
-
)
|
549
|
-
for (; !(node = i.next()).done; )
|
550
|
-
isValidElement(node.value) &&
|
551
|
-
validateExplicitKey(node.value, parentType);
|
552
|
-
}
|
553
|
-
function isValidElement(object) {
|
554
|
-
return (
|
555
|
-
"object" === typeof object &&
|
556
|
-
null !== object &&
|
557
|
-
object.$$typeof === REACT_ELEMENT_TYPE
|
264
|
+
return ReactElement(
|
265
|
+
type,
|
266
|
+
children,
|
267
|
+
self,
|
268
|
+
source,
|
269
|
+
getOwner(),
|
270
|
+
maybeKey,
|
271
|
+
debugStack,
|
272
|
+
debugTask
|
558
273
|
);
|
559
274
|
}
|
560
|
-
function
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
(
|
566
|
-
(parentType = getCurrentComponentErrorInfo(parentType)),
|
567
|
-
!ownerHasKeyUseWarning[parentType])
|
568
|
-
) {
|
569
|
-
ownerHasKeyUseWarning[parentType] = !0;
|
570
|
-
var childOwner = "";
|
571
|
-
element &&
|
572
|
-
null != element._owner &&
|
573
|
-
element._owner !== getOwner() &&
|
574
|
-
((childOwner = null),
|
575
|
-
"number" === typeof element._owner.tag
|
576
|
-
? (childOwner = getComponentNameFromType(element._owner.type))
|
577
|
-
: "string" === typeof element._owner.name &&
|
578
|
-
(childOwner = element._owner.name),
|
579
|
-
(childOwner = " It was passed a child from " + childOwner + "."));
|
580
|
-
var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
|
581
|
-
ReactSharedInternals.getCurrentStack = function () {
|
582
|
-
var stack = describeUnknownElementTypeFrameInDEV(element.type);
|
583
|
-
prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
|
584
|
-
return stack;
|
585
|
-
};
|
586
|
-
console.error(
|
587
|
-
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
588
|
-
parentType,
|
589
|
-
childOwner
|
590
|
-
);
|
591
|
-
ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
|
592
|
-
}
|
593
|
-
}
|
594
|
-
function getCurrentComponentErrorInfo(parentType) {
|
595
|
-
var info = "",
|
596
|
-
owner = getOwner();
|
597
|
-
owner &&
|
598
|
-
(owner = getComponentNameFromType(owner.type)) &&
|
599
|
-
(info = "\n\nCheck the render method of `" + owner + "`.");
|
600
|
-
info ||
|
601
|
-
((parentType = getComponentNameFromType(parentType)) &&
|
602
|
-
(info =
|
603
|
-
"\n\nCheck the top-level render call using <" + parentType + ">."));
|
604
|
-
return info;
|
275
|
+
function validateChildKeys(node) {
|
276
|
+
"object" === typeof node &&
|
277
|
+
null !== node &&
|
278
|
+
node.$$typeof === REACT_ELEMENT_TYPE &&
|
279
|
+
node._store &&
|
280
|
+
(node._store.validated = 1);
|
605
281
|
}
|
606
282
|
var React = require("react"),
|
607
283
|
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
@@ -617,35 +293,20 @@
|
|
617
293
|
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
618
294
|
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
619
295
|
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
620
|
-
|
621
|
-
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
622
|
-
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
|
296
|
+
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
623
297
|
ReactSharedInternals =
|
624
298
|
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
625
299
|
hasOwnProperty = Object.prototype.hasOwnProperty,
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
prevError,
|
634
|
-
prevGroup,
|
635
|
-
prevGroupCollapsed,
|
636
|
-
prevGroupEnd;
|
637
|
-
disabledLog.__reactDisabledLog = !0;
|
638
|
-
var prefix,
|
639
|
-
suffix,
|
640
|
-
reentry = !1;
|
641
|
-
var componentFrameCache = new (
|
642
|
-
"function" === typeof WeakMap ? WeakMap : Map
|
643
|
-
)();
|
644
|
-
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
300
|
+
isArrayImpl = Array.isArray;
|
301
|
+
new ("function" === typeof WeakMap ? WeakMap : Map)();
|
302
|
+
var createTask = console.createTask
|
303
|
+
? console.createTask
|
304
|
+
: function () {
|
305
|
+
return null;
|
306
|
+
},
|
645
307
|
specialPropKeyWarningShown;
|
646
308
|
var didWarnAboutElementRef = {};
|
647
|
-
var didWarnAboutKeySpread = {}
|
648
|
-
ownerHasKeyUseWarning = {};
|
309
|
+
var didWarnAboutKeySpread = {};
|
649
310
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
650
311
|
exports.jsxDEV = function (
|
651
312
|
type,
|
@@ -655,6 +316,15 @@
|
|
655
316
|
source,
|
656
317
|
self
|
657
318
|
) {
|
658
|
-
return jsxDEVImpl(
|
319
|
+
return jsxDEVImpl(
|
320
|
+
type,
|
321
|
+
config,
|
322
|
+
maybeKey,
|
323
|
+
isStaticChildren,
|
324
|
+
source,
|
325
|
+
self,
|
326
|
+
Error("react-stack-top-frame"),
|
327
|
+
createTask(getTaskName(type))
|
328
|
+
);
|
659
329
|
};
|
660
330
|
})();
|