@office-iss/react-native-win32 0.72.6 → 0.73.0-preview.1

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.
Files changed (272) hide show
  1. package/.flowconfig +15 -4
  2. package/CHANGELOG.json +531 -87
  3. package/CHANGELOG.md +213 -48
  4. package/IntegrationTests/PromiseTest.js +1 -0
  5. package/IntegrationTests/websocket_integration_test_server.js +1 -1
  6. package/Libraries/Animated/Animated.js +1 -1
  7. package/Libraries/Animated/AnimatedImplementation.js +1 -1
  8. package/Libraries/Animated/NativeAnimatedHelper.js +14 -10
  9. package/Libraries/Animated/NativeAnimatedHelper.win32.js +16 -12
  10. package/Libraries/Animated/NativeAnimatedModule.js +6 -2
  11. package/Libraries/Animated/NativeAnimatedTurboModule.js +7 -4
  12. package/Libraries/Animated/animations/Animation.js +57 -3
  13. package/Libraries/Animated/animations/DecayAnimation.js +9 -0
  14. package/Libraries/Animated/animations/SpringAnimation.js +8 -0
  15. package/Libraries/Animated/animations/TimingAnimation.js +8 -0
  16. package/Libraries/Animated/components/AnimatedFlatList.js +2 -1
  17. package/Libraries/Animated/components/AnimatedScrollView.js +2 -0
  18. package/Libraries/Animated/components/AnimatedSectionList.js +2 -1
  19. package/Libraries/Animated/createAnimatedComponent.js +1 -0
  20. package/Libraries/Animated/nodes/AnimatedColor.js +1 -1
  21. package/Libraries/Animated/nodes/AnimatedObject.js +146 -0
  22. package/Libraries/Animated/nodes/AnimatedProps.js +19 -7
  23. package/Libraries/Animated/nodes/AnimatedStyle.js +29 -55
  24. package/Libraries/Animated/nodes/AnimatedValueXY.js +3 -17
  25. package/Libraries/Animated/shouldUseTurboAnimatedModule.js +17 -0
  26. package/Libraries/Animated/useAnimatedProps.js +9 -10
  27. package/Libraries/AppState/AppState.d.ts +1 -1
  28. package/Libraries/AppState/NativeAppState.js +8 -4
  29. package/Libraries/BatchedBridge/MessageQueue.js +45 -36
  30. package/Libraries/Blob/Blob.js +6 -2
  31. package/Libraries/Blob/BlobManager.js +9 -10
  32. package/Libraries/Blob/BlobRegistry.js +14 -9
  33. package/Libraries/Blob/File.js +1 -1
  34. package/Libraries/Blob/FileReader.js +1 -2
  35. package/Libraries/Components/Button/ButtonWin32.Props.d.ts +1 -1
  36. package/Libraries/Components/Button/ButtonWin32.Props.js.map +1 -1
  37. package/Libraries/Components/Button/ButtonWin32.d.ts +1 -1
  38. package/Libraries/Components/Button/ButtonWin32.js +1 -4
  39. package/Libraries/Components/Button/ButtonWin32.js.map +1 -1
  40. package/Libraries/Components/Clipboard/Clipboard.d.ts +4 -4
  41. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +3 -1
  42. package/Libraries/Components/EnterString.win32.d.ts +1 -1
  43. package/Libraries/Components/Keyboard/KeyboardAvoidingView.js +26 -6
  44. package/Libraries/Components/Pressable/Pressable.js +3 -2
  45. package/Libraries/Components/Pressable/Pressable.win32.js +4 -3
  46. package/Libraries/Components/Pressable/useAndroidRippleForView.js +1 -1
  47. package/Libraries/Components/SafeAreaView/SafeAreaView.js +7 -7
  48. package/Libraries/Components/SafeAreaView/SafeAreaView.win32.js +7 -8
  49. package/Libraries/Components/ScrollView/ScrollView.js +3 -1
  50. package/Libraries/Components/ScrollView/ScrollView.win32.js +3 -1
  51. package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +39 -46
  52. package/Libraries/Components/Switch/Switch.js +1 -0
  53. package/Libraries/Components/Text/TextWin32.d.ts +1 -1
  54. package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +1 -0
  55. package/Libraries/Components/TextInput/TextInput.d.ts +49 -7
  56. package/Libraries/Components/TextInput/TextInput.flow.js +43 -10
  57. package/Libraries/Components/TextInput/TextInput.js +62 -10
  58. package/Libraries/Components/TextInput/TextInput.win32.js +953 -206
  59. package/Libraries/Components/TextInput/Win32TextInputNativeComponent.js +23 -0
  60. package/Libraries/Components/ToastAndroid/{ToastAndroid.ios.js → ToastAndroid.js} +9 -1
  61. package/Libraries/Components/ToastAndroid/ToastAndroid.win32.js +9 -1
  62. package/Libraries/Components/Touchable/Tests/TouchableWin32Test.js +2 -2
  63. package/Libraries/Components/Touchable/Tests/TouchableWin32Test.js.map +1 -1
  64. package/Libraries/Components/Touchable/TouchableBounce.js +1 -1
  65. package/Libraries/Components/Touchable/TouchableHighlight.js +1 -1
  66. package/Libraries/Components/Touchable/TouchableNativeFeedback.js +1 -1
  67. package/Libraries/Components/Touchable/TouchableOpacity.js +4 -1
  68. package/Libraries/Components/Touchable/TouchableWin32.d.ts +1 -1
  69. package/Libraries/Components/Touchable/TouchableWin32.js.map +1 -1
  70. package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +1 -0
  71. package/Libraries/Components/TraceUpdateOverlay/TraceUpdateOverlay.js +16 -6
  72. package/Libraries/Components/View/ReactNativeStyleAttributes.js +9 -0
  73. package/Libraries/Components/View/ReactNativeViewAttributes.js +1 -0
  74. package/Libraries/Components/View/ReactNativeViewAttributes.win32.js +1 -0
  75. package/Libraries/Components/View/View.js +46 -32
  76. package/Libraries/Components/View/View.win32.js +37 -6
  77. package/Libraries/Components/View/ViewAccessibility.d.ts +8 -2
  78. package/Libraries/Components/View/ViewNativeComponent.js +1 -0
  79. package/Libraries/Components/View/ViewPropTypes.js +18 -3
  80. package/Libraries/Components/View/ViewPropTypes.win32.js +30 -4
  81. package/Libraries/Components/View/ViewWin32.js +3 -2
  82. package/Libraries/Core/Devtools/loadBundleFromServer.js +152 -0
  83. package/Libraries/Core/Devtools/symbolicateStackTrace.js +2 -1
  84. package/Libraries/Core/ExceptionsManager.js +16 -7
  85. package/Libraries/Core/ExtendedError.js +12 -0
  86. package/Libraries/Core/ReactNativeVersion.js +3 -3
  87. package/Libraries/Core/ReactNativeVersionCheck.js +0 -2
  88. package/Libraries/Core/ReactNativeVersionCheck.win32.js +0 -2
  89. package/Libraries/Core/__mocks__/NativeExceptionsManager.js +20 -0
  90. package/Libraries/Core/setUpDeveloperTools.js +5 -1
  91. package/Libraries/Core/setUpIntersectionObserver.js +16 -0
  92. package/Libraries/{Components/ProgressBarAndroid/ProgressBarAndroid.ios.js → Core/setUpMutationObserver.js} +6 -2
  93. package/Libraries/Core/setUpPerformance.js +6 -13
  94. package/Libraries/Core/setUpPerformanceObserver.js +16 -0
  95. package/Libraries/Core/setUpRegeneratorRuntime.js +4 -2
  96. package/Libraries/DOM/Nodes/ReactNativeElement.js +135 -18
  97. package/Libraries/DOM/Nodes/ReadOnlyCharacterData.js +72 -0
  98. package/Libraries/DOM/Nodes/ReadOnlyElement.js +209 -21
  99. package/Libraries/DOM/Nodes/ReadOnlyNode.js +206 -17
  100. package/Libraries/DOM/Nodes/ReadOnlyText.js +30 -0
  101. package/Libraries/DOM/Nodes/Utilities/Traversal.js +54 -0
  102. package/Libraries/EventEmitter/NativeEventEmitter.d.ts +0 -6
  103. package/Libraries/EventEmitter/RCTDeviceEventEmitter.js +15 -4
  104. package/Libraries/Image/Image.android.js +8 -2
  105. package/Libraries/Image/Image.d.ts +1 -1
  106. package/Libraries/Image/Image.ios.js +4 -1
  107. package/Libraries/Image/Image.win32.js +6 -3
  108. package/Libraries/Image/ImageBackground.js +3 -0
  109. package/Libraries/Image/resolveAssetSource.win32.js +1 -1
  110. package/Libraries/Inspector/DevtoolsOverlay.js +6 -3
  111. package/Libraries/Inspector/NetworkOverlay.js +2 -2
  112. package/Libraries/Interaction/JSEventLoopWatchdog.js +1 -5
  113. package/Libraries/Interaction/PanResponder.js +1 -4
  114. package/Libraries/IntersectionObserver/IntersectionObserver.js +252 -0
  115. package/Libraries/IntersectionObserver/IntersectionObserverEntry.js +140 -0
  116. package/Libraries/IntersectionObserver/IntersectionObserverManager.js +221 -0
  117. package/Libraries/IntersectionObserver/NativeIntersectionObserver.js +41 -0
  118. package/Libraries/IntersectionObserver/__mocks__/NativeIntersectionObserver.js +162 -0
  119. package/Libraries/LayoutAnimation/LayoutAnimation.js +1 -1
  120. package/Libraries/Lists/FlatList.d.ts +2 -1
  121. package/Libraries/Lists/FlatList.js +15 -5
  122. package/Libraries/Lists/SectionList.js +4 -0
  123. package/Libraries/LogBox/Data/LogBoxLog.js +4 -1
  124. package/Libraries/LogBox/Data/LogBoxSymbolication.js +5 -2
  125. package/Libraries/LogBox/Data/parseLogBoxLog.js +57 -20
  126. package/Libraries/LogBox/UI/AnsiHighlight.js +1 -1
  127. package/Libraries/LogBox/UI/LogBoxInspectorFooter.js +24 -31
  128. package/Libraries/LogBox/UI/LogBoxInspectorHeader.js +1 -1
  129. package/Libraries/LogBox/UI/LogBoxMessage.js +4 -7
  130. package/Libraries/MutationObserver/MutationObserver.js +184 -0
  131. package/Libraries/MutationObserver/MutationObserverManager.js +218 -0
  132. package/Libraries/MutationObserver/MutationRecord.js +82 -0
  133. package/Libraries/MutationObserver/NativeMutationObserver.js +58 -0
  134. package/Libraries/MutationObserver/__mocks__/NativeMutationObserver.js +327 -0
  135. package/Libraries/NativeComponent/BaseViewConfig.android.js +18 -3
  136. package/Libraries/NativeComponent/BaseViewConfig.ios.js +33 -0
  137. package/Libraries/NativeComponent/BaseViewConfig.win32.js +33 -0
  138. package/Libraries/NativeComponent/NativeComponentRegistry.js +3 -5
  139. package/Libraries/NativeModules/specs/NativeSourceCode.js +6 -6
  140. package/Libraries/Network/RCTNetworking.android.js +2 -1
  141. package/Libraries/Network/XMLHttpRequest.js +1 -1
  142. package/Libraries/NewAppScreen/components/DebugInstructions.js +4 -4
  143. package/Libraries/NewAppScreen/components/LearnMoreLinks.js +9 -2
  144. package/Libraries/Performance/QuickPerformanceLogger.js +1 -1
  145. package/Libraries/PermissionsAndroid/NativePermissionsAndroid.js +1 -0
  146. package/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +1 -0
  147. package/Libraries/PermissionsAndroid/PermissionsAndroid.js +3 -1
  148. package/Libraries/Pressability/Pressability.js +28 -3
  149. package/Libraries/Pressability/Pressability.win32.js +30 -5
  150. package/Libraries/ReactNative/AppContainer.js +2 -3
  151. package/Libraries/ReactNative/AppRegistry.d.ts +0 -5
  152. package/Libraries/ReactNative/AppRegistry.js +66 -53
  153. package/Libraries/ReactNative/BridgelessUIManager.js +38 -9
  154. package/Libraries/ReactNative/FabricUIManager.js +143 -34
  155. package/Libraries/ReactNative/I18nManager.js +5 -11
  156. package/Libraries/ReactNative/NativeI18nManager.js +7 -5
  157. package/Libraries/ReactNative/PaperUIManager.win32.js +2 -2
  158. package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.js +151 -0
  159. package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.js +81 -0
  160. package/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.js +492 -0
  161. package/Libraries/ReactNative/ReactFabricPublicInstance/warnForStyleProps.js +32 -0
  162. package/Libraries/ReactNative/ReactNativeFeatureFlags.js +19 -3
  163. package/Libraries/ReactNative/UIManager.js +8 -0
  164. package/Libraries/ReactNative/__mocks__/FabricUIManager.js +648 -0
  165. package/Libraries/ReactPrivate/ReactNativePrivateInterface.js +38 -2
  166. package/Libraries/Renderer/implementations/ReactFabric-dev.js +27 -27
  167. package/Libraries/Renderer/implementations/ReactFabric-prod.js +3 -3
  168. package/Libraries/Renderer/implementations/ReactFabric-profiling.js +3 -3
  169. package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +27 -27
  170. package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +3 -3
  171. package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +3 -3
  172. package/Libraries/Renderer/shims/ReactFabric.js +5 -6
  173. package/Libraries/Renderer/shims/ReactFeatureFlags.js +2 -3
  174. package/Libraries/Renderer/shims/ReactNative.js +2 -3
  175. package/Libraries/Renderer/shims/ReactNativeTypes.js +35 -17
  176. package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +3 -3
  177. package/Libraries/Renderer/shims/createReactNativeComponentClass.js +2 -3
  178. package/Libraries/Settings/{Settings.android.js → Settings.js} +4 -4
  179. package/Libraries/Share/Share.d.ts +3 -9
  180. package/Libraries/StyleSheet/PlatformColorValueTypes.android.js +9 -4
  181. package/Libraries/StyleSheet/PlatformColorValueTypes.ios.js +28 -13
  182. package/Libraries/StyleSheet/PlatformColorValueTypes.win32.js +14 -4
  183. package/Libraries/StyleSheet/PlatformColorValueTypesIOS.ios.js +1 -1
  184. package/Libraries/StyleSheet/PlatformColorValueTypesWin32.d.ts +1 -1
  185. package/Libraries/StyleSheet/StyleSheet.d.ts +10 -1
  186. package/Libraries/StyleSheet/StyleSheet.js +3 -0
  187. package/Libraries/StyleSheet/StyleSheet.win32.js +3 -0
  188. package/Libraries/StyleSheet/StyleSheetTypes.d.ts +31 -17
  189. package/Libraries/StyleSheet/StyleSheetTypes.js +90 -6
  190. package/Libraries/StyleSheet/flattenStyle.js +4 -0
  191. package/Libraries/StyleSheet/private/_TransformStyle.js +16 -2
  192. package/Libraries/StyleSheet/processColor.js +1 -2
  193. package/Libraries/StyleSheet/processTransformOrigin.js +136 -0
  194. package/Libraries/StyleSheet/splitLayoutProps.js +1 -0
  195. package/Libraries/Text/Text.d.ts +5 -5
  196. package/Libraries/Text/Text.js +17 -10
  197. package/Libraries/Text/Text.win32.js +354 -0
  198. package/Libraries/Text/TextProps.win32.js +281 -0
  199. package/Libraries/TurboModule/TurboModuleRegistry.js +47 -7
  200. package/Libraries/TurboModule/samples/NativeSampleTurboModule.js +6 -0
  201. package/Libraries/Types/CoreEventTypes.d.ts +5 -2
  202. package/Libraries/Utilities/GlobalPerformanceLogger.js +2 -12
  203. package/Libraries/Utilities/NativeDeviceInfo.js +8 -9
  204. package/Libraries/Utilities/NativePlatformConstantsAndroid.js +23 -18
  205. package/Libraries/Utilities/NativePlatformConstantsIOS.js +16 -13
  206. package/Libraries/Utilities/NativePlatformConstantsWin.js +13 -10
  207. package/Libraries/Utilities/PerformanceLoggerContext.js +1 -1
  208. package/Libraries/Utilities/Platform.android.js +12 -8
  209. package/Libraries/Utilities/Platform.d.ts +1 -0
  210. package/Libraries/Utilities/Platform.flow.js +84 -0
  211. package/Libraries/Utilities/Platform.flow.win32.js +111 -0
  212. package/Libraries/Utilities/Platform.ios.js +12 -8
  213. package/Libraries/Utilities/Platform.win32.js +12 -8
  214. package/Libraries/Utilities/PolyfillFunctions.js +1 -1
  215. package/Libraries/Utilities/ReactNativeTestTools.js +1 -2
  216. package/Libraries/Utilities/SceneTracker.js +1 -1
  217. package/Libraries/Utilities/createPerformanceLogger.js +63 -32
  218. package/Libraries/Utilities/useColorScheme.js +7 -8
  219. package/Libraries/WebPerformance/MemoryInfo.js +1 -1
  220. package/Libraries/WebPerformance/NativePerformance.js +3 -8
  221. package/Libraries/WebPerformance/NativePerformanceObserver.js +4 -0
  222. package/Libraries/WebPerformance/Performance.js +42 -15
  223. package/Libraries/WebPerformance/PerformanceEntry.js +14 -6
  224. package/Libraries/WebPerformance/PerformanceEventTiming.js +18 -1
  225. package/Libraries/WebPerformance/ReactNativeStartupTiming.js +40 -14
  226. package/Libraries/WebPerformance/__mocks__/NativePerformance.js +4 -2
  227. package/Libraries/WebPerformance/__mocks__/NativePerformanceObserver.js +21 -3
  228. package/Libraries/promiseRejectionTrackingOptions.js +1 -3
  229. package/Libraries/vendor/emitter/EventEmitter.js +20 -18
  230. package/flow/global.js +1 -3
  231. package/flow/jest.js +5 -1
  232. package/{Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.ios.js → jest/ReactNativeInternalFeatureFlagsMock.js} +2 -1
  233. package/jest/__tests__/setup-test.js +18 -0
  234. package/jest/mockModal.js +6 -4
  235. package/jest/setup.js +61 -30
  236. package/jest.config.js +1 -1
  237. package/just-task.js +1 -0
  238. package/overrides.json +51 -46
  239. package/package.json +35 -33
  240. package/src/Libraries/Components/Button/ButtonWin32.Props.ts +1 -1
  241. package/src/Libraries/Components/Button/ButtonWin32.tsx +0 -2
  242. package/src/Libraries/Components/Touchable/Tests/TouchableWin32Test.tsx +2 -2
  243. package/src/Libraries/Components/Touchable/TouchableWin32.tsx +1 -1
  244. package/src/Libraries/Components/View/ViewAccessibility.d.ts +8 -2
  245. package/src/Libraries/StyleSheet/PlatformColorValueTypesWin32.d.ts +1 -1
  246. package/types/experimental.d.ts +44 -0
  247. package/types/index.d.ts +2 -1
  248. package/types/modules/Devtools.d.ts +1 -0
  249. package/types/modules/globals.d.ts +16 -1
  250. package/IntegrationTests/BUCK +0 -32
  251. package/IntegrationTests/PropertiesUpdateTest.js +0 -29
  252. package/IntegrationTests/RCTRootViewIntegrationTestApp.js +0 -86
  253. package/IntegrationTests/ReactContentSizeUpdateTest.js +0 -89
  254. package/IntegrationTests/SizeFlexibilityUpdateTest.js +0 -106
  255. package/Libraries/Components/TextInput/TextInput.Types.win32.d.ts +0 -51
  256. package/Libraries/Components/TextInput/TextInput.Types.win32.js +0 -3
  257. package/Libraries/Components/TextInput/TextInput.Types.win32.js.map +0 -1
  258. package/Libraries/Utilities/AcessibilityMapping.js +0 -154
  259. package/Libraries/Utilities/AcessibilityMapping.win32.js +0 -156
  260. package/Libraries/Utilities/NativeDevSplitBundleLoader.js +0 -19
  261. package/Libraries/Utilities/useColorScheme.win32.js +0 -26
  262. package/flow/use-sync-external-store.js +0 -20
  263. package/flow-typed/npm/base64-js_v1.x.x.js +0 -12
  264. package/flow-typed/npm/glob_v7.x.x.js +0 -79
  265. package/flow-typed/npm/pretty-format_v26.x.x.js +0 -49
  266. package/flow-typed/npm/promise_v8.x.x.js +0 -30
  267. package/flow-typed/npm/react-dom_v17.x.x.js +0 -139
  268. package/flow-typed/npm/react-test-renderer_v16.x.x.js +0 -79
  269. package/flow-typed/npm/stacktrace-parser_v0.1.x.js +0 -17
  270. package/flow-typed/npm/yargs_v17.x.x.js +0 -341
  271. package/src/Libraries/Components/TextInput/TextInput.Types.win32.ts +0 -68
  272. /package/Libraries/{Renderer/public → ReactNative/ReactFabricPublicInstance}/ReactFabricPublicInstanceUtils.js +0 -0
@@ -286,7 +286,7 @@ var invokeGuardedCallbackImpl = invokeGuardedCallbackProd;
286
286
  error = new Error(
287
287
  "A cross-origin error was thrown. React doesn't have access to " +
288
288
  "the actual error object in development. " +
289
- "See https://reactjs.org/link/crossorigin-error for more information."
289
+ "See https://react.dev/link/crossorigin-error for more information."
290
290
  );
291
291
  }
292
292
 
@@ -857,7 +857,7 @@ function getPooledWarningPropertyDefinition(propName, getVal) {
857
857
  "This synthetic event is reused for performance reasons. If you're seeing this, " +
858
858
  "you're %s `%s` on a released/nullified synthetic event. %s. " +
859
859
  "If you must keep the original synthetic event around, use event.persist(). " +
860
- "See https://reactjs.org/link/event-pooling for more information.",
860
+ "See https://react.dev/link/event-pooling for more information.",
861
861
  action,
862
862
  propName,
863
863
  result
@@ -4115,7 +4115,7 @@ function injectInternals(internals) {
4115
4115
  error(
4116
4116
  "The installed version of React DevTools is too old and will not work " +
4117
4117
  "with the current version of React. Please update React DevTools. " +
4118
- "https://reactjs.org/link/react-devtools"
4118
+ "https://react.dev/link/react-devtools"
4119
4119
  );
4120
4120
  } // DevTools exists, even though it doesn't support Fiber.
4121
4121
 
@@ -6628,7 +6628,7 @@ var ReactStrictModeWarnings = {
6628
6628
 
6629
6629
  error(
6630
6630
  "Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. " +
6631
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
6631
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
6632
6632
  "* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
6633
6633
  "\nPlease update the following components: %s",
6634
6634
  sortedNames
@@ -6643,11 +6643,11 @@ var ReactStrictModeWarnings = {
6643
6643
  error(
6644
6644
  "Using UNSAFE_componentWillReceiveProps in strict mode is not recommended " +
6645
6645
  "and may indicate bugs in your code. " +
6646
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
6646
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
6647
6647
  "* Move data fetching code or side effects to componentDidUpdate.\n" +
6648
6648
  "* If you're updating state whenever props change, " +
6649
6649
  "refactor your code to use memoization techniques or move it to " +
6650
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
6650
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
6651
6651
  "\nPlease update the following components: %s",
6652
6652
  _sortedNames
6653
6653
  );
@@ -6661,7 +6661,7 @@ var ReactStrictModeWarnings = {
6661
6661
  error(
6662
6662
  "Using UNSAFE_componentWillUpdate in strict mode is not recommended " +
6663
6663
  "and may indicate bugs in your code. " +
6664
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
6664
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
6665
6665
  "* Move data fetching code or side effects to componentDidUpdate.\n" +
6666
6666
  "\nPlease update the following components: %s",
6667
6667
  _sortedNames2
@@ -6673,7 +6673,7 @@ var ReactStrictModeWarnings = {
6673
6673
 
6674
6674
  warn(
6675
6675
  "componentWillMount has been renamed, and is not recommended for use. " +
6676
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
6676
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
6677
6677
  "* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
6678
6678
  "* Rename componentWillMount to UNSAFE_componentWillMount to suppress " +
6679
6679
  "this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -6691,11 +6691,11 @@ var ReactStrictModeWarnings = {
6691
6691
 
6692
6692
  warn(
6693
6693
  "componentWillReceiveProps has been renamed, and is not recommended for use. " +
6694
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
6694
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
6695
6695
  "* Move data fetching code or side effects to componentDidUpdate.\n" +
6696
6696
  "* If you're updating state whenever props change, refactor your " +
6697
6697
  "code to use memoization techniques or move it to " +
6698
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
6698
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
6699
6699
  "* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress " +
6700
6700
  "this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
6701
6701
  "To rename all deprecated lifecycles to their new names, you can run " +
@@ -6710,7 +6710,7 @@ var ReactStrictModeWarnings = {
6710
6710
 
6711
6711
  warn(
6712
6712
  "componentWillUpdate has been renamed, and is not recommended for use. " +
6713
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
6713
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
6714
6714
  "* Move data fetching code or side effects to componentDidUpdate.\n" +
6715
6715
  "* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress " +
6716
6716
  "this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -6783,7 +6783,7 @@ var ReactStrictModeWarnings = {
6783
6783
  "\n\nThe old API will be supported in all 16.x releases, but applications " +
6784
6784
  "using it should migrate to the new version." +
6785
6785
  "\n\nPlease update the following components: %s" +
6786
- "\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",
6786
+ "\n\nLearn more about this warning here: https://react.dev/link/legacy-context",
6787
6787
  sortedNames
6788
6788
  );
6789
6789
  } finally {
@@ -8485,7 +8485,7 @@ function constructClassInstance(workInProgress, ctor, props) {
8485
8485
  "Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" +
8486
8486
  "%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\n" +
8487
8487
  "The above lifecycles should be removed. Learn more about this warning here:\n" +
8488
- "https://reactjs.org/link/unsafe-component-lifecycles",
8488
+ "https://react.dev/link/unsafe-component-lifecycles",
8489
8489
  _componentName,
8490
8490
  newApiName,
8491
8491
  foundWillMountName !== null ? "\n " + foundWillMountName : "",
@@ -9005,7 +9005,7 @@ var warnForMissingKey = function(child, returnFiber) {};
9005
9005
 
9006
9006
  error(
9007
9007
  "Each child in a list should have a unique " +
9008
- '"key" prop. See https://reactjs.org/link/warning-keys for ' +
9008
+ '"key" prop. See https://react.dev/link/warning-keys for ' +
9009
9009
  "more information."
9010
9010
  );
9011
9011
  };
@@ -9042,7 +9042,7 @@ function coerceRef(returnFiber, current, element) {
9042
9042
  "String refs are a source of potential bugs and should be avoided. " +
9043
9043
  "We recommend using useRef() or createRef() instead. " +
9044
9044
  "Learn more about using refs safely here: " +
9045
- "https://reactjs.org/link/strict-mode-string-ref",
9045
+ "https://react.dev/link/strict-mode-string-ref",
9046
9046
  mixedRef
9047
9047
  );
9048
9048
  }
@@ -9064,7 +9064,7 @@ function coerceRef(returnFiber, current, element) {
9064
9064
  "Function components cannot have string refs. " +
9065
9065
  "We recommend using useRef() instead. " +
9066
9066
  "Learn more about using refs safely here: " +
9067
- "https://reactjs.org/link/strict-mode-string-ref"
9067
+ "https://react.dev/link/strict-mode-string-ref"
9068
9068
  );
9069
9069
  }
9070
9070
 
@@ -9130,7 +9130,7 @@ function coerceRef(returnFiber, current, element) {
9130
9130
  "1. You may be adding a ref to a function component\n" +
9131
9131
  "2. You may be adding a ref to a component that was not created inside a component's render method\n" +
9132
9132
  "3. You have multiple copies of React loaded\n" +
9133
- "See https://reactjs.org/link/refs-must-have-owner for more information."
9133
+ "See https://react.dev/link/refs-must-have-owner for more information."
9134
9134
  );
9135
9135
  }
9136
9136
  }
@@ -10638,7 +10638,7 @@ function warnOnHookMismatchInDev(currentHookName) {
10638
10638
  error(
10639
10639
  "React has detected a change in the order of Hooks called by %s. " +
10640
10640
  "This will lead to bugs and errors if not fixed. " +
10641
- "For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n" +
10641
+ "For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks\n\n" +
10642
10642
  " Previous render Next render\n" +
10643
10643
  " ------------------------------------------------------\n" +
10644
10644
  "%s" +
@@ -10658,7 +10658,7 @@ function throwInvalidHookError() {
10658
10658
  "1. You might have mismatching versions of React and the renderer (such as React DOM)\n" +
10659
10659
  "2. You might be breaking the Rules of Hooks\n" +
10660
10660
  "3. You might have more than one copy of React in the same app\n" +
10661
- "See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."
10661
+ "See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
10662
10662
  );
10663
10663
  }
10664
10664
 
@@ -12115,7 +12115,7 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null;
12115
12115
  "Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. " +
12116
12116
  "You can only call Hooks at the top level of your React function. " +
12117
12117
  "For more information, see " +
12118
- "https://reactjs.org/link/rules-of-hooks"
12118
+ "https://react.dev/link/rules-of-hooks"
12119
12119
  );
12120
12120
  };
12121
12121
 
@@ -13183,7 +13183,7 @@ function logCapturedError(boundary, errorInfo) {
13183
13183
  if (boundary.tag === HostRoot) {
13184
13184
  errorBoundaryMessage =
13185
13185
  "Consider adding an error boundary to your tree to customize error handling behavior.\n" +
13186
- "Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.";
13186
+ "Visit https://react.dev/link/error-boundaries to learn more about error boundaries.";
13187
13187
  } else {
13188
13188
  var errorBoundaryName =
13189
13189
  getComponentNameFromFiber(boundary) || "Anonymous";
@@ -18380,7 +18380,7 @@ function commitHookEffectListMount(flags, finishedWork) {
18380
18380
  " }\n" +
18381
18381
  " fetchData();\n" +
18382
18382
  "}, [someId]); // Or [] if effect doesn't need props or state\n\n" +
18383
- "Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching";
18383
+ "Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching";
18384
18384
  } else {
18385
18385
  addendum = " You returned: " + destroy;
18386
18386
  }
@@ -22072,7 +22072,7 @@ function warnAboutRenderPhaseUpdatesInDEV(fiber) {
22072
22072
  error(
22073
22073
  "Cannot update a component (`%s`) while rendering a " +
22074
22074
  "different component (`%s`). To locate the bad setState() call inside `%s`, " +
22075
- "follow the stack trace as described in https://reactjs.org/link/setstate-in-render",
22075
+ "follow the stack trace as described in https://react.dev/link/setstate-in-render",
22076
22076
  setStateComponentName,
22077
22077
  renderingComponentName,
22078
22078
  renderingComponentName
@@ -22189,7 +22189,7 @@ function warnIfUpdatesNotWrappedWithActDEV(fiber) {
22189
22189
  "/* assert on the output */\n\n" +
22190
22190
  "This ensures that you're testing the behavior the user would see " +
22191
22191
  "in the browser." +
22192
- " Learn more at https://reactjs.org/link/wrap-tests-with-act",
22192
+ " Learn more at https://react.dev/link/wrap-tests-with-act",
22193
22193
  getComponentNameFromFiber(fiber)
22194
22194
  );
22195
22195
  } finally {
@@ -22221,7 +22221,7 @@ function warnIfSuspenseResolutionNotWrappedWithActDEV(root) {
22221
22221
  "/* assert on the output */\n\n" +
22222
22222
  "This ensures that you're testing the behavior the user would see " +
22223
22223
  "in the browser." +
22224
- " Learn more at https://reactjs.org/link/wrap-tests-with-act"
22224
+ " Learn more at https://react.dev/link/wrap-tests-with-act"
22225
22225
  );
22226
22226
  }
22227
22227
  }
@@ -23471,7 +23471,7 @@ function findHostInstanceWithWarning(component, methodName) {
23471
23471
  "%s was passed an instance of %s which is inside StrictMode. " +
23472
23472
  "Instead, add a ref directly to the element you want to reference. " +
23473
23473
  "Learn more about using refs safely here: " +
23474
- "https://reactjs.org/link/strict-mode-find-node",
23474
+ "https://react.dev/link/strict-mode-find-node",
23475
23475
  methodName,
23476
23476
  methodName,
23477
23477
  componentName
@@ -23482,7 +23482,7 @@ function findHostInstanceWithWarning(component, methodName) {
23482
23482
  "%s was passed an instance of %s which renders StrictMode children. " +
23483
23483
  "Instead, add a ref directly to the element you want to reference. " +
23484
23484
  "Learn more about using refs safely here: " +
23485
- "https://reactjs.org/link/strict-mode-find-node",
23485
+ "https://react.dev/link/strict-mode-find-node",
23486
23486
  methodName,
23487
23487
  methodName,
23488
23488
  componentName
@@ -2782,7 +2782,7 @@ function coerceRef(returnFiber, current, element) {
2782
2782
  if (element) {
2783
2783
  if (1 !== element.tag)
2784
2784
  throw Error(
2785
- "Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref"
2785
+ "Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://react.dev/link/strict-mode-string-ref"
2786
2786
  );
2787
2787
  var inst = element.stateNode;
2788
2788
  }
@@ -2817,7 +2817,7 @@ function coerceRef(returnFiber, current, element) {
2817
2817
  throw Error(
2818
2818
  "Element ref was specified as a string (" +
2819
2819
  returnFiber +
2820
- ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information."
2820
+ ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://react.dev/link/refs-must-have-owner for more information."
2821
2821
  );
2822
2822
  }
2823
2823
  return returnFiber;
@@ -3533,7 +3533,7 @@ var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher,
3533
3533
  globalClientIdCounter = 0;
3534
3534
  function throwInvalidHookError() {
3535
3535
  throw Error(
3536
- "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."
3536
+ "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
3537
3537
  );
3538
3538
  }
3539
3539
  function areHookInputsEqual(nextDeps, prevDeps) {
@@ -2841,7 +2841,7 @@ function coerceRef(returnFiber, current, element) {
2841
2841
  if (element) {
2842
2842
  if (1 !== element.tag)
2843
2843
  throw Error(
2844
- "Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref"
2844
+ "Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://react.dev/link/strict-mode-string-ref"
2845
2845
  );
2846
2846
  var inst = element.stateNode;
2847
2847
  }
@@ -2876,7 +2876,7 @@ function coerceRef(returnFiber, current, element) {
2876
2876
  throw Error(
2877
2877
  "Element ref was specified as a string (" +
2878
2878
  returnFiber +
2879
- ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information."
2879
+ ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://react.dev/link/refs-must-have-owner for more information."
2880
2880
  );
2881
2881
  }
2882
2882
  return returnFiber;
@@ -3592,7 +3592,7 @@ var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher,
3592
3592
  globalClientIdCounter = 0;
3593
3593
  function throwInvalidHookError() {
3594
3594
  throw Error(
3595
- "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."
3595
+ "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
3596
3596
  );
3597
3597
  }
3598
3598
  function areHookInputsEqual(nextDeps, prevDeps) {
@@ -286,7 +286,7 @@ var invokeGuardedCallbackImpl = invokeGuardedCallbackProd;
286
286
  error = new Error(
287
287
  "A cross-origin error was thrown. React doesn't have access to " +
288
288
  "the actual error object in development. " +
289
- "See https://reactjs.org/link/crossorigin-error for more information."
289
+ "See https://react.dev/link/crossorigin-error for more information."
290
290
  );
291
291
  }
292
292
 
@@ -857,7 +857,7 @@ function getPooledWarningPropertyDefinition(propName, getVal) {
857
857
  "This synthetic event is reused for performance reasons. If you're seeing this, " +
858
858
  "you're %s `%s` on a released/nullified synthetic event. %s. " +
859
859
  "If you must keep the original synthetic event around, use event.persist(). " +
860
- "See https://reactjs.org/link/event-pooling for more information.",
860
+ "See https://react.dev/link/event-pooling for more information.",
861
861
  action,
862
862
  propName,
863
863
  result
@@ -4314,7 +4314,7 @@ function injectInternals(internals) {
4314
4314
  error(
4315
4315
  "The installed version of React DevTools is too old and will not work " +
4316
4316
  "with the current version of React. Please update React DevTools. " +
4317
- "https://reactjs.org/link/react-devtools"
4317
+ "https://react.dev/link/react-devtools"
4318
4318
  );
4319
4319
  } // DevTools exists, even though it doesn't support Fiber.
4320
4320
 
@@ -6734,7 +6734,7 @@ var ReactStrictModeWarnings = {
6734
6734
 
6735
6735
  error(
6736
6736
  "Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. " +
6737
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
6737
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
6738
6738
  "* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
6739
6739
  "\nPlease update the following components: %s",
6740
6740
  sortedNames
@@ -6749,11 +6749,11 @@ var ReactStrictModeWarnings = {
6749
6749
  error(
6750
6750
  "Using UNSAFE_componentWillReceiveProps in strict mode is not recommended " +
6751
6751
  "and may indicate bugs in your code. " +
6752
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
6752
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
6753
6753
  "* Move data fetching code or side effects to componentDidUpdate.\n" +
6754
6754
  "* If you're updating state whenever props change, " +
6755
6755
  "refactor your code to use memoization techniques or move it to " +
6756
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
6756
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
6757
6757
  "\nPlease update the following components: %s",
6758
6758
  _sortedNames
6759
6759
  );
@@ -6767,7 +6767,7 @@ var ReactStrictModeWarnings = {
6767
6767
  error(
6768
6768
  "Using UNSAFE_componentWillUpdate in strict mode is not recommended " +
6769
6769
  "and may indicate bugs in your code. " +
6770
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
6770
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
6771
6771
  "* Move data fetching code or side effects to componentDidUpdate.\n" +
6772
6772
  "\nPlease update the following components: %s",
6773
6773
  _sortedNames2
@@ -6779,7 +6779,7 @@ var ReactStrictModeWarnings = {
6779
6779
 
6780
6780
  warn(
6781
6781
  "componentWillMount has been renamed, and is not recommended for use. " +
6782
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
6782
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
6783
6783
  "* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" +
6784
6784
  "* Rename componentWillMount to UNSAFE_componentWillMount to suppress " +
6785
6785
  "this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -6797,11 +6797,11 @@ var ReactStrictModeWarnings = {
6797
6797
 
6798
6798
  warn(
6799
6799
  "componentWillReceiveProps has been renamed, and is not recommended for use. " +
6800
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
6800
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
6801
6801
  "* Move data fetching code or side effects to componentDidUpdate.\n" +
6802
6802
  "* If you're updating state whenever props change, refactor your " +
6803
6803
  "code to use memoization techniques or move it to " +
6804
- "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" +
6804
+ "static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n" +
6805
6805
  "* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress " +
6806
6806
  "this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
6807
6807
  "To rename all deprecated lifecycles to their new names, you can run " +
@@ -6816,7 +6816,7 @@ var ReactStrictModeWarnings = {
6816
6816
 
6817
6817
  warn(
6818
6818
  "componentWillUpdate has been renamed, and is not recommended for use. " +
6819
- "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" +
6819
+ "See https://react.dev/link/unsafe-component-lifecycles for details.\n\n" +
6820
6820
  "* Move data fetching code or side effects to componentDidUpdate.\n" +
6821
6821
  "* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress " +
6822
6822
  "this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. " +
@@ -6889,7 +6889,7 @@ var ReactStrictModeWarnings = {
6889
6889
  "\n\nThe old API will be supported in all 16.x releases, but applications " +
6890
6890
  "using it should migrate to the new version." +
6891
6891
  "\n\nPlease update the following components: %s" +
6892
- "\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",
6892
+ "\n\nLearn more about this warning here: https://react.dev/link/legacy-context",
6893
6893
  sortedNames
6894
6894
  );
6895
6895
  } finally {
@@ -8591,7 +8591,7 @@ function constructClassInstance(workInProgress, ctor, props) {
8591
8591
  "Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" +
8592
8592
  "%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\n" +
8593
8593
  "The above lifecycles should be removed. Learn more about this warning here:\n" +
8594
- "https://reactjs.org/link/unsafe-component-lifecycles",
8594
+ "https://react.dev/link/unsafe-component-lifecycles",
8595
8595
  _componentName,
8596
8596
  newApiName,
8597
8597
  foundWillMountName !== null ? "\n " + foundWillMountName : "",
@@ -9111,7 +9111,7 @@ var warnForMissingKey = function(child, returnFiber) {};
9111
9111
 
9112
9112
  error(
9113
9113
  "Each child in a list should have a unique " +
9114
- '"key" prop. See https://reactjs.org/link/warning-keys for ' +
9114
+ '"key" prop. See https://react.dev/link/warning-keys for ' +
9115
9115
  "more information."
9116
9116
  );
9117
9117
  };
@@ -9148,7 +9148,7 @@ function coerceRef(returnFiber, current, element) {
9148
9148
  "String refs are a source of potential bugs and should be avoided. " +
9149
9149
  "We recommend using useRef() or createRef() instead. " +
9150
9150
  "Learn more about using refs safely here: " +
9151
- "https://reactjs.org/link/strict-mode-string-ref",
9151
+ "https://react.dev/link/strict-mode-string-ref",
9152
9152
  mixedRef
9153
9153
  );
9154
9154
  }
@@ -9170,7 +9170,7 @@ function coerceRef(returnFiber, current, element) {
9170
9170
  "Function components cannot have string refs. " +
9171
9171
  "We recommend using useRef() instead. " +
9172
9172
  "Learn more about using refs safely here: " +
9173
- "https://reactjs.org/link/strict-mode-string-ref"
9173
+ "https://react.dev/link/strict-mode-string-ref"
9174
9174
  );
9175
9175
  }
9176
9176
 
@@ -9236,7 +9236,7 @@ function coerceRef(returnFiber, current, element) {
9236
9236
  "1. You may be adding a ref to a function component\n" +
9237
9237
  "2. You may be adding a ref to a component that was not created inside a component's render method\n" +
9238
9238
  "3. You have multiple copies of React loaded\n" +
9239
- "See https://reactjs.org/link/refs-must-have-owner for more information."
9239
+ "See https://react.dev/link/refs-must-have-owner for more information."
9240
9240
  );
9241
9241
  }
9242
9242
  }
@@ -10744,7 +10744,7 @@ function warnOnHookMismatchInDev(currentHookName) {
10744
10744
  error(
10745
10745
  "React has detected a change in the order of Hooks called by %s. " +
10746
10746
  "This will lead to bugs and errors if not fixed. " +
10747
- "For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n" +
10747
+ "For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks\n\n" +
10748
10748
  " Previous render Next render\n" +
10749
10749
  " ------------------------------------------------------\n" +
10750
10750
  "%s" +
@@ -10764,7 +10764,7 @@ function throwInvalidHookError() {
10764
10764
  "1. You might have mismatching versions of React and the renderer (such as React DOM)\n" +
10765
10765
  "2. You might be breaking the Rules of Hooks\n" +
10766
10766
  "3. You might have more than one copy of React in the same app\n" +
10767
- "See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."
10767
+ "See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
10768
10768
  );
10769
10769
  }
10770
10770
 
@@ -12221,7 +12221,7 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null;
12221
12221
  "Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. " +
12222
12222
  "You can only call Hooks at the top level of your React function. " +
12223
12223
  "For more information, see " +
12224
- "https://reactjs.org/link/rules-of-hooks"
12224
+ "https://react.dev/link/rules-of-hooks"
12225
12225
  );
12226
12226
  };
12227
12227
 
@@ -13289,7 +13289,7 @@ function logCapturedError(boundary, errorInfo) {
13289
13289
  if (boundary.tag === HostRoot) {
13290
13290
  errorBoundaryMessage =
13291
13291
  "Consider adding an error boundary to your tree to customize error handling behavior.\n" +
13292
- "Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.";
13292
+ "Visit https://react.dev/link/error-boundaries to learn more about error boundaries.";
13293
13293
  } else {
13294
13294
  var errorBoundaryName =
13295
13295
  getComponentNameFromFiber(boundary) || "Anonymous";
@@ -18324,7 +18324,7 @@ function commitHookEffectListMount(flags, finishedWork) {
18324
18324
  " }\n" +
18325
18325
  " fetchData();\n" +
18326
18326
  "}, [someId]); // Or [] if effect doesn't need props or state\n\n" +
18327
- "Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching";
18327
+ "Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching";
18328
18328
  } else {
18329
18329
  addendum = " You returned: " + destroy;
18330
18330
  }
@@ -22401,7 +22401,7 @@ function warnAboutRenderPhaseUpdatesInDEV(fiber) {
22401
22401
  error(
22402
22402
  "Cannot update a component (`%s`) while rendering a " +
22403
22403
  "different component (`%s`). To locate the bad setState() call inside `%s`, " +
22404
- "follow the stack trace as described in https://reactjs.org/link/setstate-in-render",
22404
+ "follow the stack trace as described in https://react.dev/link/setstate-in-render",
22405
22405
  setStateComponentName,
22406
22406
  renderingComponentName,
22407
22407
  renderingComponentName
@@ -22518,7 +22518,7 @@ function warnIfUpdatesNotWrappedWithActDEV(fiber) {
22518
22518
  "/* assert on the output */\n\n" +
22519
22519
  "This ensures that you're testing the behavior the user would see " +
22520
22520
  "in the browser." +
22521
- " Learn more at https://reactjs.org/link/wrap-tests-with-act",
22521
+ " Learn more at https://react.dev/link/wrap-tests-with-act",
22522
22522
  getComponentNameFromFiber(fiber)
22523
22523
  );
22524
22524
  } finally {
@@ -22550,7 +22550,7 @@ function warnIfSuspenseResolutionNotWrappedWithActDEV(root) {
22550
22550
  "/* assert on the output */\n\n" +
22551
22551
  "This ensures that you're testing the behavior the user would see " +
22552
22552
  "in the browser." +
22553
- " Learn more at https://reactjs.org/link/wrap-tests-with-act"
22553
+ " Learn more at https://react.dev/link/wrap-tests-with-act"
22554
22554
  );
22555
22555
  }
22556
22556
  }
@@ -23800,7 +23800,7 @@ function findHostInstanceWithWarning(component, methodName) {
23800
23800
  "%s was passed an instance of %s which is inside StrictMode. " +
23801
23801
  "Instead, add a ref directly to the element you want to reference. " +
23802
23802
  "Learn more about using refs safely here: " +
23803
- "https://reactjs.org/link/strict-mode-find-node",
23803
+ "https://react.dev/link/strict-mode-find-node",
23804
23804
  methodName,
23805
23805
  methodName,
23806
23806
  componentName
@@ -23811,7 +23811,7 @@ function findHostInstanceWithWarning(component, methodName) {
23811
23811
  "%s was passed an instance of %s which renders StrictMode children. " +
23812
23812
  "Instead, add a ref directly to the element you want to reference. " +
23813
23813
  "Learn more about using refs safely here: " +
23814
- "https://reactjs.org/link/strict-mode-find-node",
23814
+ "https://react.dev/link/strict-mode-find-node",
23815
23815
  methodName,
23816
23816
  methodName,
23817
23817
  componentName
@@ -2745,7 +2745,7 @@ function coerceRef(returnFiber, current, element) {
2745
2745
  if (element) {
2746
2746
  if (1 !== element.tag)
2747
2747
  throw Error(
2748
- "Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref"
2748
+ "Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://react.dev/link/strict-mode-string-ref"
2749
2749
  );
2750
2750
  var inst = element.stateNode;
2751
2751
  }
@@ -2780,7 +2780,7 @@ function coerceRef(returnFiber, current, element) {
2780
2780
  throw Error(
2781
2781
  "Element ref was specified as a string (" +
2782
2782
  returnFiber +
2783
- ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information."
2783
+ ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://react.dev/link/refs-must-have-owner for more information."
2784
2784
  );
2785
2785
  }
2786
2786
  return returnFiber;
@@ -3496,7 +3496,7 @@ var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher,
3496
3496
  globalClientIdCounter = 0;
3497
3497
  function throwInvalidHookError() {
3498
3498
  throw Error(
3499
- "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."
3499
+ "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
3500
3500
  );
3501
3501
  }
3502
3502
  function areHookInputsEqual(nextDeps, prevDeps) {
@@ -2804,7 +2804,7 @@ function coerceRef(returnFiber, current, element) {
2804
2804
  if (element) {
2805
2805
  if (1 !== element.tag)
2806
2806
  throw Error(
2807
- "Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref"
2807
+ "Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://react.dev/link/strict-mode-string-ref"
2808
2808
  );
2809
2809
  var inst = element.stateNode;
2810
2810
  }
@@ -2839,7 +2839,7 @@ function coerceRef(returnFiber, current, element) {
2839
2839
  throw Error(
2840
2840
  "Element ref was specified as a string (" +
2841
2841
  returnFiber +
2842
- ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information."
2842
+ ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://react.dev/link/refs-must-have-owner for more information."
2843
2843
  );
2844
2844
  }
2845
2845
  return returnFiber;
@@ -3555,7 +3555,7 @@ var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher,
3555
3555
  globalClientIdCounter = 0;
3556
3556
  function throwInvalidHookError() {
3557
3557
  throw Error(
3558
- "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."
3558
+ "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
3559
3559
  );
3560
3560
  }
3561
3561
  function areHookInputsEqual(nextDeps, prevDeps) {
@@ -6,9 +6,8 @@
6
6
  *
7
7
  * @noformat
8
8
  * @flow
9
- * @generated SignedSource<<ef2742380b2b2c69cea8618289eea086>>
10
- *
11
- * This file was sync'd from the facebook/react repository.
9
+ * @nolint
10
+ * @generated SignedSource<<c1cc197c110e3a49a5e8f6bd5d32b23f>>
12
11
  */
13
12
 
14
13
  'use strict';
@@ -25,9 +24,9 @@ if (__DEV__) {
25
24
  ReactFabric = require('../implementations/ReactFabric-prod');
26
25
  }
27
26
 
28
- if (global.RN$Bridgeless) {
29
- global.RN$stopSurface = ReactFabric.stopSurface;
30
- } else {
27
+ global.RN$stopSurface = ReactFabric.stopSurface;
28
+
29
+ if (global.RN$Bridgeless !== true) {
31
30
  BatchedBridge.registerCallableModule('ReactFabric', ReactFabric);
32
31
  }
33
32
 
@@ -6,9 +6,8 @@
6
6
  *
7
7
  * @noformat
8
8
  * @flow strict-local
9
- * @generated SignedSource<<47062f1b1abd7428381f0362986d9c0e>>
10
- *
11
- * This file was sync'd from the facebook/react repository.
9
+ * @nolint
10
+ * @generated SignedSource<<2881c8e89ef0f73f4cf6612cb518b197>>
12
11
  */
13
12
 
14
13
  'use strict';
@@ -6,9 +6,8 @@
6
6
  *
7
7
  * @noformat
8
8
  * @flow
9
- * @generated SignedSource<<744176db456e2656dac661d36e55f42a>>
10
- *
11
- * This file was sync'd from the facebook/react repository.
9
+ * @nolint
10
+ * @generated SignedSource<<0debd6e5a17dc037cb4661315a886de6>>
12
11
  */
13
12
 
14
13
  'use strict';