react 19.0.0-rc-512b09b2-20240718 → 19.0.0-rc-f6cce072-20240723

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.
@@ -152,8 +152,8 @@
152
152
  -1 < x.stack.indexOf("\n at")
153
153
  ? " (<anonymous>)"
154
154
  : -1 < x.stack.indexOf("@")
155
- ? "@unknown:0:0"
156
- : "";
155
+ ? "@unknown:0:0"
156
+ : "";
157
157
  }
158
158
  return "\n" + prefix + name + suffix;
159
159
  }
@@ -470,13 +470,15 @@
470
470
  null === type
471
471
  ? (isStaticChildren = "null")
472
472
  : isArrayImpl(type)
473
- ? (isStaticChildren = "array")
474
- : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
475
- ? ((isStaticChildren =
476
- "<" + (getComponentNameFromType(type.type) || "Unknown") + " />"),
477
- (children =
478
- " Did you accidentally export a JSX literal instead of a component?"))
479
- : (isStaticChildren = typeof type);
473
+ ? (isStaticChildren = "array")
474
+ : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
475
+ ? ((isStaticChildren =
476
+ "<" +
477
+ (getComponentNameFromType(type.type) || "Unknown") +
478
+ " />"),
479
+ (children =
480
+ " Did you accidentally export a JSX literal instead of a component?"))
481
+ : (isStaticChildren = typeof type);
480
482
  console.error(
481
483
  "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
482
484
  isStaticChildren,
@@ -152,8 +152,8 @@
152
152
  -1 < x.stack.indexOf("\n at")
153
153
  ? " (<anonymous>)"
154
154
  : -1 < x.stack.indexOf("@")
155
- ? "@unknown:0:0"
156
- : "";
155
+ ? "@unknown:0:0"
156
+ : "";
157
157
  }
158
158
  return "\n" + prefix + name + suffix;
159
159
  }
@@ -470,13 +470,15 @@
470
470
  null === type
471
471
  ? (isStaticChildren = "null")
472
472
  : isArrayImpl(type)
473
- ? (isStaticChildren = "array")
474
- : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
475
- ? ((isStaticChildren =
476
- "<" + (getComponentNameFromType(type.type) || "Unknown") + " />"),
477
- (children =
478
- " Did you accidentally export a JSX literal instead of a component?"))
479
- : (isStaticChildren = typeof type);
473
+ ? (isStaticChildren = "array")
474
+ : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
475
+ ? ((isStaticChildren =
476
+ "<" +
477
+ (getComponentNameFromType(type.type) || "Unknown") +
478
+ " />"),
479
+ (children =
480
+ " Did you accidentally export a JSX literal instead of a component?"))
481
+ : (isStaticChildren = typeof type);
480
482
  console.error(
481
483
  "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
482
484
  isStaticChildren,
@@ -152,8 +152,8 @@
152
152
  -1 < x.stack.indexOf("\n at")
153
153
  ? " (<anonymous>)"
154
154
  : -1 < x.stack.indexOf("@")
155
- ? "@unknown:0:0"
156
- : "";
155
+ ? "@unknown:0:0"
156
+ : "";
157
157
  }
158
158
  return "\n" + prefix + name + suffix;
159
159
  }
@@ -470,13 +470,15 @@
470
470
  null === type
471
471
  ? (isStaticChildren = "null")
472
472
  : isArrayImpl(type)
473
- ? (isStaticChildren = "array")
474
- : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
475
- ? ((isStaticChildren =
476
- "<" + (getComponentNameFromType(type.type) || "Unknown") + " />"),
477
- (children =
478
- " Did you accidentally export a JSX literal instead of a component?"))
479
- : (isStaticChildren = typeof type);
473
+ ? (isStaticChildren = "array")
474
+ : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
475
+ ? ((isStaticChildren =
476
+ "<" +
477
+ (getComponentNameFromType(type.type) || "Unknown") +
478
+ " />"),
479
+ (children =
480
+ " Did you accidentally export a JSX literal instead of a component?"))
481
+ : (isStaticChildren = typeof type);
480
482
  console.error(
481
483
  "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
482
484
  isStaticChildren,
@@ -152,8 +152,8 @@
152
152
  -1 < x.stack.indexOf("\n at")
153
153
  ? " (<anonymous>)"
154
154
  : -1 < x.stack.indexOf("@")
155
- ? "@unknown:0:0"
156
- : "";
155
+ ? "@unknown:0:0"
156
+ : "";
157
157
  }
158
158
  return "\n" + prefix + name + suffix;
159
159
  }
@@ -470,13 +470,15 @@
470
470
  null === type
471
471
  ? (isStaticChildren = "null")
472
472
  : isArrayImpl(type)
473
- ? (isStaticChildren = "array")
474
- : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
475
- ? ((isStaticChildren =
476
- "<" + (getComponentNameFromType(type.type) || "Unknown") + " />"),
477
- (children =
478
- " Did you accidentally export a JSX literal instead of a component?"))
479
- : (isStaticChildren = typeof type);
473
+ ? (isStaticChildren = "array")
474
+ : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
475
+ ? ((isStaticChildren =
476
+ "<" +
477
+ (getComponentNameFromType(type.type) || "Unknown") +
478
+ " />"),
479
+ (children =
480
+ " Did you accidentally export a JSX literal instead of a component?"))
481
+ : (isStaticChildren = typeof type);
480
482
  console.error(
481
483
  "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
482
484
  isStaticChildren,
@@ -219,8 +219,8 @@
219
219
  -1 < x.stack.indexOf("\n at")
220
220
  ? " (<anonymous>)"
221
221
  : -1 < x.stack.indexOf("@")
222
- ? "@unknown:0:0"
223
- : "";
222
+ ? "@unknown:0:0"
223
+ : "";
224
224
  }
225
225
  return "\n" + prefix + name + suffix;
226
226
  }
@@ -1268,13 +1268,13 @@
1268
1268
  isArrayImpl(type)
1269
1269
  ? (typeString = "array")
1270
1270
  : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
1271
- ? ((typeString =
1272
- "<" +
1273
- (getComponentNameFromType(type.type) || "Unknown") +
1274
- " />"),
1275
- (i =
1276
- " Did you accidentally export a JSX literal instead of a component?"))
1277
- : (typeString = typeof type);
1271
+ ? ((typeString =
1272
+ "<" +
1273
+ (getComponentNameFromType(type.type) || "Unknown") +
1274
+ " />"),
1275
+ (i =
1276
+ " Did you accidentally export a JSX literal instead of a component?"))
1277
+ : (typeString = typeof type);
1278
1278
  console.error(
1279
1279
  "React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
1280
1280
  typeString,
@@ -1343,18 +1343,18 @@
1343
1343
  "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
1344
1344
  )
1345
1345
  : "function" !== typeof render
1346
- ? console.error(
1347
- "forwardRef requires a render function but was given %s.",
1348
- null === render ? "null" : typeof render
1349
- )
1350
- : 0 !== render.length &&
1351
- 2 !== render.length &&
1352
- console.error(
1353
- "forwardRef render functions accept exactly two parameters: props and ref. %s",
1354
- 1 === render.length
1355
- ? "Did you forget to use the ref parameter?"
1356
- : "Any additional parameter will be undefined."
1357
- );
1346
+ ? console.error(
1347
+ "forwardRef requires a render function but was given %s.",
1348
+ null === render ? "null" : typeof render
1349
+ )
1350
+ : 0 !== render.length &&
1351
+ 2 !== render.length &&
1352
+ console.error(
1353
+ "forwardRef render functions accept exactly two parameters: props and ref. %s",
1354
+ 1 === render.length
1355
+ ? "Did you forget to use the ref parameter?"
1356
+ : "Any additional parameter will be undefined."
1357
+ );
1358
1358
  null != render &&
1359
1359
  null != render.defaultProps &&
1360
1360
  console.error(
@@ -1517,7 +1517,7 @@
1517
1517
  exports.useTransition = function () {
1518
1518
  return resolveDispatcher().useTransition();
1519
1519
  };
1520
- exports.version = "19.0.0-rc-512b09b2-20240718";
1520
+ exports.version = "19.0.0-rc-f6cce072-20240723";
1521
1521
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1522
1522
  "function" ===
1523
1523
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -536,4 +536,4 @@ exports.useSyncExternalStore = function (
536
536
  exports.useTransition = function () {
537
537
  return ReactSharedInternals.H.useTransition();
538
538
  };
539
- exports.version = "19.0.0-rc-512b09b2-20240718";
539
+ exports.version = "19.0.0-rc-f6cce072-20240723";
@@ -181,8 +181,8 @@
181
181
  -1 < x.stack.indexOf("\n at")
182
182
  ? " (<anonymous>)"
183
183
  : -1 < x.stack.indexOf("@")
184
- ? "@unknown:0:0"
185
- : "";
184
+ ? "@unknown:0:0"
185
+ : "";
186
186
  }
187
187
  return "\n" + prefix + name + suffix;
188
188
  }
@@ -952,13 +952,13 @@
952
952
  isArrayImpl(type)
953
953
  ? (typeString = "array")
954
954
  : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
955
- ? ((typeString =
956
- "<" +
957
- (getComponentNameFromType(type.type) || "Unknown") +
958
- " />"),
959
- (i =
960
- " Did you accidentally export a JSX literal instead of a component?"))
961
- : (typeString = typeof type);
955
+ ? ((typeString =
956
+ "<" +
957
+ (getComponentNameFromType(type.type) || "Unknown") +
958
+ " />"),
959
+ (i =
960
+ " Did you accidentally export a JSX literal instead of a component?"))
961
+ : (typeString = typeof type);
962
962
  console.error(
963
963
  "React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
964
964
  typeString,
@@ -1027,18 +1027,18 @@
1027
1027
  "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
1028
1028
  )
1029
1029
  : "function" !== typeof render
1030
- ? console.error(
1031
- "forwardRef requires a render function but was given %s.",
1032
- null === render ? "null" : typeof render
1033
- )
1034
- : 0 !== render.length &&
1035
- 2 !== render.length &&
1036
- console.error(
1037
- "forwardRef render functions accept exactly two parameters: props and ref. %s",
1038
- 1 === render.length
1039
- ? "Did you forget to use the ref parameter?"
1040
- : "Any additional parameter will be undefined."
1041
- );
1030
+ ? console.error(
1031
+ "forwardRef requires a render function but was given %s.",
1032
+ null === render ? "null" : typeof render
1033
+ )
1034
+ : 0 !== render.length &&
1035
+ 2 !== render.length &&
1036
+ console.error(
1037
+ "forwardRef render functions accept exactly two parameters: props and ref. %s",
1038
+ 1 === render.length
1039
+ ? "Did you forget to use the ref parameter?"
1040
+ : "Any additional parameter will be undefined."
1041
+ );
1042
1042
  null != render &&
1043
1043
  null != render.defaultProps &&
1044
1044
  console.error(
@@ -1113,5 +1113,5 @@
1113
1113
  exports.useMemo = function (create, deps) {
1114
1114
  return resolveDispatcher().useMemo(create, deps);
1115
1115
  };
1116
- exports.version = "19.0.0-rc-512b09b2-20240718";
1116
+ exports.version = "19.0.0-rc-f6cce072-20240723";
1117
1117
  })();
@@ -424,4 +424,4 @@ exports.useId = function () {
424
424
  exports.useMemo = function (create, deps) {
425
425
  return ReactSharedInternals.H.useMemo(create, deps);
426
426
  };
427
- exports.version = "19.0.0-rc-512b09b2-20240718";
427
+ exports.version = "19.0.0-rc-f6cce072-20240723";
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords": [
5
5
  "react"
6
6
  ],
7
- "version": "19.0.0-rc-512b09b2-20240718",
7
+ "version": "19.0.0-rc-f6cce072-20240723",
8
8
  "homepage": "https://react.dev/",
9
9
  "bugs": "https://github.com/facebook/react/issues",
10
10
  "license": "MIT",