From fbb3a9eda80b346be259e73bb2c96958a5a2cd37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Thu, 13 Apr 2023 03:07:47 -0700 Subject: [PATCH] React Native sync for revisions ca01f35...58742c2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: This sync includes the following changes: - **[58742c21b](https://github.com/facebook/react/commit/58742c21b )**: Delete unused `eventTimes` Fiber field ([#26599](https://github.com/facebook/react/pull/26599)) //// - **[0b931f90e](https://github.com/facebook/react/commit/0b931f90e )**: Remove JND delay for non-transition updates ([#26597](https://github.com/facebook/react/pull/26597)) //// - **[ac43bf687](https://github.com/facebook/react/commit/ac43bf687 )**: Move validation of text nesting into ReactDOMComponent ([#26594](https://github.com/facebook/react/pull/26594)) //// - **[ca41adb8c](https://github.com/facebook/react/commit/ca41adb8c )**: Diff properties in the commit phase instead of generating an update payload ([#26583](https://github.com/facebook/react/pull/26583)) //// - **[dd0619b2e](https://github.com/facebook/react/commit/dd0619b2e )**: rename $$$hostConfig to $$$config ([#26593](https://github.com/facebook/react/pull/26593)) //// - **[b55d31955](https://github.com/facebook/react/commit/b55d31955 )**: Rename HostConfig files to FiberConfig to clarify they are configs fo… ([#26592](https://github.com/facebook/react/pull/26592)) //// - **[ffb8eaca5](https://github.com/facebook/react/commit/ffb8eaca5 )**: Rename ReactServerFormatConfig to ReactFizzConfig ([#26591](https://github.com/facebook/react/pull/26591)) //// - **[f4f873f62](https://github.com/facebook/react/commit/f4f873f62 )**: Implements wiring for Flight to have it's own "HostConfig" ([#26590](https://github.com/facebook/react/pull/26590)) //// - **[44db16afc](https://github.com/facebook/react/commit/44db16afc )**: Normalize ReactFlightServerConfig and related files ([#26589](https://github.com/facebook/react/pull/26589)) //// - **[fec97ecbc](https://github.com/facebook/react/commit/fec97ecbc )**: act: Move didScheduleLegacyUpdate to ensureRootIsScheduled ([#26552](https://github.com/facebook/react/pull/26552)) //// - **[9a9da7721](https://github.com/facebook/react/commit/9a9da7721 )**: Don't update textarea defaultValue and input checked unnecessarily ([#26580](https://github.com/facebook/react/pull/26580)) //// - **[e5146cb52](https://github.com/facebook/react/commit/e5146cb52 )**: Refactor some controlled component stuff ([#26573](https://github.com/facebook/react/pull/26573)) //// - **[657698e48](https://github.com/facebook/react/commit/657698e48 )**: [Tests] `waitForThrow` should diff strings ([#26568](https://github.com/facebook/react/pull/26568)) //// - **[85bb7b685](https://github.com/facebook/react/commit/85bb7b685 )**: Fix: Move `destroy` field to shared instance object ([#26561](https://github.com/facebook/react/pull/26561)) //// - **[9cfba0f6e](https://github.com/facebook/react/commit/9cfba0f6e )**: Clean up discrete event replaying ([#26558](https://github.com/facebook/react/pull/26558)) //// - **[790ebc962](https://github.com/facebook/react/commit/790ebc962 )**: Remove no-fallthrough lint suppressions ([#26553](https://github.com/facebook/react/pull/26553)) //// - **[c15579631](https://github.com/facebook/react/commit/c15579631 )**: Put common aliases in Map/Set instead of switch over strings ([#26551](https://github.com/facebook/react/pull/26551)) //// - **[d5fd60f7e](https://github.com/facebook/react/commit/d5fd60f7e )**: Remove findInstanceBlockingEvent unused parameters ([#26534](https://github.com/facebook/react/pull/26534)) //// - **[eeabb7312](https://github.com/facebook/react/commit/eeabb7312 )**: Refactor DOM Bindings Completely Off of DOMProperty Meta Programming ([#26546](https://github.com/facebook/react/pull/26546)) //// - **[da94e8b24](https://github.com/facebook/react/commit/da94e8b24 )**: Revert "Cleanup enableSyncDefaultUpdate flag ([#26236](https://github.com/facebook/react/pull/26236))" ([#26528](https://github.com/facebook/react/pull/26528)) //// - **[0700dd50b](https://github.com/facebook/react/commit/0700dd50b )**: Implement public instances for text nodes in Fabric ([#26516](https://github.com/facebook/react/pull/26516)) //// - **[4a1cc2ddd](https://github.com/facebook/react/commit/4a1cc2ddd )**: Fix logic around attribute seralization ([#26526](https://github.com/facebook/react/pull/26526)) //// - **[7329ea81c](https://github.com/facebook/react/commit/7329ea81c )**: Fix suspense replaying forward refs ([#26535](https://github.com/facebook/react/pull/26535)) //// - **[0ae348018](https://github.com/facebook/react/commit/0ae348018 )**: [Float] Suspend unstyled content for up to 1 minute ([#26532](https://github.com/facebook/react/pull/26532)) //// - **[888874673](https://github.com/facebook/react/commit/888874673 )**: Allow transitions to interrupt Suspensey commits ([#26531](https://github.com/facebook/react/pull/26531)) //// - **[09c8d2563](https://github.com/facebook/react/commit/09c8d2563 )**: Move update scheduling to microtask ([#26512](https://github.com/facebook/react/pull/26512)) //// - **[8310854ce](https://github.com/facebook/react/commit/8310854ce )**: Clean up enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay ([#26521](https://github.com/facebook/react/pull/26521)) //// Changelog: [General][Changed] - React Native sync for revisions ca01f35...58742c2 jest_e2e[run_all_tests] bypass-github-export-checks Reviewed By: sammy-SC Differential Revision: D44872333 fbshipit-source-id: 0695e86645955aac7a20afdaf3ed02ad33592f5c --- packages/react-native/Libraries/Renderer/REVISION | 2 +- .../Libraries/Renderer/shims/ReactNativeTypes.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/react-native/Libraries/Renderer/REVISION b/packages/react-native/Libraries/Renderer/REVISION index 7c260eddd0646b..716da3a43fb9ee 100644 --- a/packages/react-native/Libraries/Renderer/REVISION +++ b/packages/react-native/Libraries/Renderer/REVISION @@ -1 +1 @@ -ca01f359b9236292c749075bb2fd41bb7b569308 \ No newline at end of file +58742c21b8c3237e8b66c7df4e200504846a01ae \ No newline at end of file diff --git a/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js b/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js index 3b0df3aeb4e69e..617344d3bf755d 100644 --- a/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js +++ b/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js @@ -6,7 +6,7 @@ * * @noformat * @flow strict - * @generated SignedSource<> + * @generated SignedSource<<31d4a4b65ed3b597c84dc2361d498e04>> * * This file was sync'd from the facebook/react repository. */ @@ -218,6 +218,7 @@ export type ReactNativeType = { export opaque type Node = mixed; export opaque type InternalInstanceHandle = mixed; type PublicInstance = mixed; +type PublicTextInstance = mixed; export type ReactFabricType = { findHostInstance_DEPRECATED( @@ -247,7 +248,7 @@ export type ReactFabricType = { ): ?Node, getPublicInstanceFromInternalInstanceHandle( internalInstanceHandle: InternalInstanceHandle, - ): PublicInstance, + ): PublicInstance | PublicTextInstance, ... };