mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
React Native sync for revisions 77ba161...ca01f35
Summary: This sync includes the following changes: - **[ca01f359b](https://github.com/facebook/react/commit/ca01f359b )**: Remove skipUnmountedBoundaries ([#26489](https://github.com/facebook/react/pull/26489)) //<Ricky>// - **[43a70a610](https://github.com/facebook/react/commit/43a70a610 )**: Limit the meaning of "custom element" to not include `is` ([#26524](https://github.com/facebook/react/pull/26524)) //<Sebastian Markbåge>// - **[1308e49a6](https://github.com/facebook/react/commit/1308e49a6 )**: [Flight Plugin] Scan for "use client" ([#26474](https://github.com/facebook/react/pull/26474)) //<dan>// - **[1a1d61fed](https://github.com/facebook/react/commit/1a1d61fed )**: Warn for ARIA typos on custom elements ([#26523](https://github.com/facebook/react/pull/26523)) //<Sebastian Markbåge>// - **[73deff0d5](https://github.com/facebook/react/commit/73deff0d5 )**: Refactor DOMProperty and CSSProperty ([#26513](https://github.com/facebook/react/pull/26513)) //<Sebastian Markbåge>// - **[2d51251e6](https://github.com/facebook/react/commit/2d51251e6 )**: Clean up deferRenderPhaseUpdateToNextBatch ([#26511](https://github.com/facebook/react/pull/26511)) //<Andrew Clark>// - **[0ffc7f632](https://github.com/facebook/react/commit/0ffc7f632 )**: Update useMemoCache test to confirm that cache persists across errors ([#26510](https://github.com/facebook/react/pull/26510)) //<Joseph Savona>// - **[29a3be78b](https://github.com/facebook/react/commit/29a3be78b )**: Move ReactDOMFloat to react-dom/src/ ([#26514](https://github.com/facebook/react/pull/26514)) //<Sebastian Markbåge>// - **[4c2fc0190](https://github.com/facebook/react/commit/4c2fc0190 )**: Generate safe javascript url instead of throwing with disableJavaScriptURLs is on ([#26507](https://github.com/facebook/react/pull/26507)) //<Sebastian Markbåge>// - **[f0aafa1a7](https://github.com/facebook/react/commit/f0aafa1a7 )**: Convert a few more tests to waitFor test helpers ([#26509](https://github.com/facebook/react/pull/26509)) //<Andrew Clark>// - **[90995ef8b](https://github.com/facebook/react/commit/90995ef8b )**: Delete "triangle" resuming fuzz tester ([#26508](https://github.com/facebook/react/pull/26508)) //<Andrew Clark>// - **[f118b7ceb](https://github.com/facebook/react/commit/f118b7ceb )**: [Flight] Gated test for dropped transport of undefined object values ([#26478](https://github.com/facebook/react/pull/26478)) //<Sebastian Silbermann>// - **[fd0511c72](https://github.com/facebook/react/commit/fd0511c72 )**: [Flight] Add support BigInt support ([#26479](https://github.com/facebook/react/pull/26479)) //<Sebastian Silbermann>// - **[85de6fde5](https://github.com/facebook/react/commit/85de6fde5 )**: Refactor DOM special cases per tags including controlled fields ([#26501](https://github.com/facebook/react/pull/26501)) //<Sebastian Markbåge>// - **[1f5cdf8c7](https://github.com/facebook/react/commit/1f5cdf8c7 )**: Update Suspense fuzz tests to use `act` ([#26498](https://github.com/facebook/react/pull/26498)) //<Andrew Clark>// - **[f62cb39ee](https://github.com/facebook/react/commit/f62cb39ee )**: Make disableSchedulerTimeoutInWorkLoop a static ff ([#26497](https://github.com/facebook/react/pull/26497)) //<Ricky>// - **[41b4714f1](https://github.com/facebook/react/commit/41b4714f1 )**: Remove disableNativeComponentFrames ([#26490](https://github.com/facebook/react/pull/26490)) //<Ricky>// - **[fc90eb636](https://github.com/facebook/react/commit/fc90eb636 )**: Codemod more tests to waitFor pattern ([#26494](https://github.com/facebook/react/pull/26494)) //<Andrew Clark>// - **[e0bbc2662](https://github.com/facebook/react/commit/e0bbc2662 )**: Improve tests that deal with microtasks ([#26493](https://github.com/facebook/react/pull/26493)) //<Andrew Clark>// - **[8faf75193](https://github.com/facebook/react/commit/8faf75193 )**: Codemod some expiration tests to waitForExpired ([#26491](https://github.com/facebook/react/pull/26491)) //<Andrew Clark>// - **[8342a0992](https://github.com/facebook/react/commit/8342a0992 )**: Remove unused feature flag disableSchedulerTimeoutBasedOnReactExpirationTime ([#26488](https://github.com/facebook/react/pull/26488)) //<Jan Kassens>// - **[afea1d0c5](https://github.com/facebook/react/commit/afea1d0c5 )**: [flow] make Flow suppressions explicit on the error ([#26487](https://github.com/facebook/react/pull/26487)) //<Jan Kassens>// - **[768f965de](https://github.com/facebook/react/commit/768f965de )**: Suspensily committing a prerendered tree ([#26434](https://github.com/facebook/react/pull/26434)) //<Andrew Clark>// - **[d12bdcda6](https://github.com/facebook/react/commit/d12bdcda6 )**: Fix Flow types of useEffectEvent ([#26468](https://github.com/facebook/react/pull/26468)) //<Sebastian Silbermann>// - **[73b6435ca](https://github.com/facebook/react/commit/73b6435ca )**: [Float][Fiber] Implement waitForCommitToBeReady for stylesheet resources ([#26450](https://github.com/facebook/react/pull/26450)) //<Josh Story>// - **[175962c10](https://github.com/facebook/react/commit/175962c10 )**: Fix remaining CommonJS imports after Rollup upgrade ([#26473](https://github.com/facebook/react/pull/26473)) //<dan>// - **[909c6dacf](https://github.com/facebook/react/commit/909c6dacf )**: Update Rollup to 3.x ([#26442](https://github.com/facebook/react/pull/26442)) //<Mark Erikson>// - **[9c54b29b4](https://github.com/facebook/react/commit/9c54b29b4 )**: Remove ReactFabricPublicInstance and used definition from ReactNativePrivateInterface ([#26437](https://github.com/facebook/react/pull/26437)) //<Rubén Norte>// - **[f77099b6f](https://github.com/facebook/react/commit/f77099b6f )**: Remove layout effect warning on the server ([#26395](https://github.com/facebook/react/pull/26395)) //<Ricky>// - **[51a7c45f8](https://github.com/facebook/react/commit/51a7c45f8 )**: Bugfix: SuspenseList incorrectly forces a fallback ([#26453](https://github.com/facebook/react/pull/26453)) //<Andrew Clark>// - **[afb3d51dc](https://github.com/facebook/react/commit/afb3d51dc )**: Fix enableClientRenderFallbackOnTextMismatch flag ([#26457](https://github.com/facebook/react/pull/26457)) //<Sebastian Markbåge>// - **[8e17bfd14](https://github.com/facebook/react/commit/8e17bfd14 )**: Make InternalInstanceHandle type opaque in ReactNativeTypes ([#26461](https://github.com/facebook/react/pull/26461)) //<Rubén Norte>// - **[b93b4f074](https://github.com/facebook/react/commit/b93b4f074 )**: Should not throw for children of iframe or object ([#26458](https://github.com/facebook/react/pull/26458)) //<Sebastian Markbåge>// - **[c0b34bc5f](https://github.com/facebook/react/commit/c0b34bc5f )**: chore: update links of docs and api ([#26455](https://github.com/facebook/react/pull/26455)) //<Leedom>// - **[ffb6733ee](https://github.com/facebook/react/commit/ffb6733ee )**: fix docs link for useSyncExternalStore ([#26452](https://github.com/facebook/react/pull/26452)) //<Valor(华洛)>// - **[12a1d140e](https://github.com/facebook/react/commit/12a1d140e )**: Don't prerender siblings of suspended component ([#26380](https://github.com/facebook/react/pull/26380)) //<Andrew Clark>// Changelog: [General][Changed] - React Native sync for revisions 77ba161...ca01f35 jest_e2e[run_all_tests] bypass-github-export-checks Reviewed By: sammy-SC Differential Revision: D44669450 fbshipit-source-id: f160aad4719a00df3ceeca78d5f3fcd0aa0f8437
This commit is contained in:
committed by
Facebook GitHub Bot
parent
511bf4f3e9
commit
6eebc99742
Vendored
+3
-2
@@ -12,6 +12,7 @@ import type {
|
||||
AttributeConfiguration,
|
||||
HostComponent,
|
||||
INativeMethods,
|
||||
InternalInstanceHandle,
|
||||
MeasureInWindowOnSuccessCallback,
|
||||
MeasureLayoutOnSuccessCallback,
|
||||
MeasureOnSuccessCallback,
|
||||
@@ -41,14 +42,14 @@ const noop = () => {};
|
||||
export default class ReactFabricHostComponent implements INativeMethods {
|
||||
// These need to be accessible from `ReactFabricPublicInstanceUtils`.
|
||||
__nativeTag: number;
|
||||
__internalInstanceHandle: mixed;
|
||||
__internalInstanceHandle: InternalInstanceHandle;
|
||||
|
||||
_viewConfig: ViewConfig;
|
||||
|
||||
constructor(
|
||||
tag: number,
|
||||
viewConfig: ViewConfig,
|
||||
internalInstanceHandle: mixed,
|
||||
internalInstanceHandle: InternalInstanceHandle,
|
||||
) {
|
||||
this.__nativeTag = tag;
|
||||
this._viewConfig = viewConfig;
|
||||
|
||||
Vendored
+5
-2
@@ -9,7 +9,10 @@
|
||||
*/
|
||||
|
||||
import typeof ReactFabricType from '../../Renderer/shims/ReactFabric';
|
||||
import type {ViewConfig} from '../../Renderer/shims/ReactNativeTypes';
|
||||
import type {
|
||||
InternalInstanceHandle,
|
||||
ViewConfig,
|
||||
} from '../../Renderer/shims/ReactNativeTypes';
|
||||
import type ReactFabricHostComponentType from './ReactFabricHostComponent';
|
||||
|
||||
// Lazy loaded to avoid evaluating the module when using the legacy renderer.
|
||||
@@ -20,7 +23,7 @@ let ReactFabric: ReactFabricType;
|
||||
export function createPublicInstance(
|
||||
tag: number,
|
||||
viewConfig: ViewConfig,
|
||||
internalInstanceHandle: mixed,
|
||||
internalInstanceHandle: InternalInstanceHandle,
|
||||
): ReactFabricHostComponentType {
|
||||
if (ReactFabricHostComponent == null) {
|
||||
ReactFabricHostComponent = require('./ReactFabricHostComponent').default;
|
||||
|
||||
@@ -1 +1 @@
|
||||
77ba1618a528787baaa8e007fadaff93a86fb675
|
||||
ca01f359b9236292c749075bb2fd41bb7b569308
|
||||
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* @noformat
|
||||
* @flow strict
|
||||
* @generated SignedSource<<7dc3ed81183377055bac08760fcd775b>>
|
||||
* @generated SignedSource<<e35074dabf9cff3672b45eadd68af01e>>
|
||||
*
|
||||
* This file was sync'd from the facebook/react repository.
|
||||
*/
|
||||
@@ -216,7 +216,7 @@ export type ReactNativeType = {
|
||||
};
|
||||
|
||||
export opaque type Node = mixed;
|
||||
type InternalInstanceHandle = mixed;
|
||||
export opaque type InternalInstanceHandle = mixed;
|
||||
type PublicInstance = mixed;
|
||||
|
||||
export type ReactFabricType = {
|
||||
|
||||
Reference in New Issue
Block a user