GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Native] Delete NativeComponent and NativeMethodsMixin (#18036) · react/react@2d6be75

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages
    • react-native-renderer/src
      • NativeMethodsMixin.js
      • ReactFabric.js
      • ReactNativeComponent.js
      • ReactNativeFiberHostComponent.js
      • ReactNativeRenderer.js
      • ReactNativeTypes.js
      • __tests__
        • ReactFabric-test.internal.js
        • ReactNativeMount-test.internal.js
    • react/src/__tests__
      • createReactClassIntegration-test.internal.js
  • scripts/rollup/shims/react-native
    • NativeMethodsMixin.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/react-native-renderer/src/NativeMethodsMixin.js‎

Copy file name to clipboardExpand all lines: packages/react-native-renderer/src/NativeMethodsMixin.js
-330Lines changed: 0 additions & 330 deletions
This file was deleted.
Collapse file

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

Copy file name to clipboardExpand all lines: packages/react-native-renderer/src/ReactFabric.js
+1-8Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ import ReactVersion from 'shared/ReactVersion';
3232
// Module provided by RN:
3333
import {UIManager} from 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface';
3434

35-
import NativeMethodsMixin from './NativeMethodsMixin';
36-
import ReactNativeComponent from './ReactNativeComponent';
3735
import {getClosestInstanceFromNode} from './ReactFabricComponentTree';
3836
import {getInspectorDataForViewTag} from './ReactNativeFiberInspector';
3937

@@ -155,8 +153,6 @@ setBatchingImplementation(
155153
const roots = new Map();
156154

157155
const ReactFabric: ReactFabricType = {
158-
NativeComponent: ReactNativeComponent(findNodeHandle, findHostInstance),
159-
160156
// This is needed for implementation details of TouchableNativeFeedback
161157
// Remove this once TouchableNativeFeedback doesn't use cloneElement
162158
findHostInstance_DEPRECATED,
@@ -223,10 +219,7 @@ const ReactFabric: ReactFabricType = {
223219
return createPortal(children, containerTag, null, key);
224220
},
225221

226-
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {
227-
// Used as a mixin in many createClass-based components
228-
NativeMethodsMixin: NativeMethodsMixin(findNodeHandle, findHostInstance),
229-
},
222+
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {},
230223
};
231224

232225
injectIntoDevTools({

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.