Back out "React Native sync for revisions c3e20f1...0cf9fc1"

Summary:
This diff broke scrolling on Profile React Native surfaces. Please see the task for repro steps. Backing this out.

Changelog:
[General][Changed] - Back out "React Native sync for revisions c3e20f1...4d28eca"

build-break
overriding_review_checks_triggers_an_audit_and_retroactive_review

Oncall Short Name: fbandroid_sheriff

Reviewed By: JoshuaGross

Differential Revision: D26708096

fbshipit-source-id: 40f1e7473b8cc041073b2658d46f9500281da99e
This commit is contained in:
Ramanpreet Nara
2021-02-26 20:00:06 -08:00
committed by Facebook GitHub Bot
parent c9600a310f
commit 2ee5db0fb7
11 changed files with 11010 additions and 13229 deletions
+1 -1
View File
@@ -1 +1 @@
0cf9fc10ba9d47099f3507080dd736054d877a20
c3e20f18fe37993ddcbf11dccb55663b4c0d02fd
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
-2
View File
@@ -8,8 +8,6 @@
* @flow
*/
'use strict';
import {BatchedBridge} from 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface';
// TODO @sema: Adjust types
+9 -4
View File
@@ -8,7 +8,12 @@
* @flow strict
*/
import type {ElementRef, ElementType, Element, AbstractComponent} from 'react';
import type {
ElementRef,
ElementType,
MixedElement,
AbstractComponent,
} from 'react';
export type MeasureOnSuccessCallback = (
x: number,
@@ -44,7 +49,7 @@ type AttributeType<T, V> =
// or we allow them to define specific types and use this hack
type AnyAttributeType = AttributeType<$FlowFixMe, $FlowFixMe>;
export type AttributeConfiguration = $ReadOnly<{
type AttributeConfiguration = $ReadOnly<{
[propName: string]: AnyAttributeType,
style: $ReadOnly<{
[propName: string]: AnyAttributeType,
@@ -180,7 +185,7 @@ export type ReactNativeType = {
eventType: string,
): void,
render(
element: Element<ElementType>,
element: MixedElement,
containerTag: number,
callback: ?() => void,
): ?ElementRef<ElementType>,
@@ -208,7 +213,7 @@ export type ReactFabricType = {
eventType: string,
): void,
render(
element: Element<ElementType>,
element: MixedElement,
containerTag: number,
callback: ?() => void,
): ?ElementRef<ElementType>,
@@ -8,10 +8,6 @@
* @flow strict-local
*/
/* eslint-disable react-internal/invariant-args */
'use strict';
import {type ViewConfig} from './ReactNativeTypes';
import invariant from 'invariant';
@@ -8,8 +8,6 @@
* @flow strict-local
*/
'use strict';
import {ReactNativeViewConfigRegistry} from 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface';
import {type ViewConfig} from './ReactNativeTypes';