Skip to content

Commit e7bd3d5

Browse files
sebmarkbagebvaughn
authored andcommitted
No longer expose ReactNativeComponentTree (#12904)
1 parent f35d989 commit e7bd3d5

4 files changed

Lines changed: 0 additions & 24 deletions

File tree

packages/react-native-renderer/src/ReactFabric.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ const ReactFabric: ReactFabricType = {
116116
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {
117117
// Used as a mixin in many createClass-based components
118118
NativeMethodsMixin: NativeMethodsMixin(findNodeHandle, findHostInstance),
119-
// Used by react-native-github/Libraries/ components
120-
ReactNativeComponentTree, // ScrollResponder
121119
},
122120
};
123121

packages/react-native-renderer/src/ReactNativeRenderer.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,6 @@ const ReactNativeRenderer: ReactNativeType = {
138138
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {
139139
// Used as a mixin in many createClass-based components
140140
NativeMethodsMixin: NativeMethodsMixin(findNodeHandle, findHostInstance),
141-
// Used by react-native-github/Libraries/ components
142-
ReactNativeComponentTree, // ScrollResponder
143141
computeComponentStackForErrorReporting,
144142
},
145143
};

packages/react-native-renderer/src/ReactNativeTypes.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,13 @@ export type NativeMethodsMixinType = {
8989

9090
type SecretInternalsType = {
9191
NativeMethodsMixin: NativeMethodsMixinType,
92-
ReactNativeComponentTree: any,
9392
computeComponentStackForErrorReporting(tag: number): string,
9493
// TODO (bvaughn) Decide which additional types to expose here?
9594
// And how much information to fill in for the above types.
9695
};
9796

9897
type SecretInternalsFabricType = {
9998
NativeMethodsMixin: NativeMethodsMixinType,
100-
ReactNativeComponentTree: any,
10199
};
102100

103101
/**

scripts/rollup/shims/react-native/ReactNativeComponentTree.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)