Remove unused ReactFabricInternals API (#47454)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/47454

As far as I can tell, this module is now unused both within the codebase and externally. Delete to reduce our public API surface (deep module is an accessible import path).

Changelog:
[General][Breaking] - Remove ReactFabricInternals module

Reviewed By: cortinico

Differential Revision: D65535378

fbshipit-source-id: 25ee16ccc637815ffe1c69a5fc546bd3e11d1689
This commit is contained in:
Alex Hunt
2024-11-06 10:27:31 -08:00
committed by Facebook GitHub Bot
parent 1be0387796
commit 0c21db360c
2 changed files with 0 additions and 25 deletions
@@ -1,17 +0,0 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow strict-local
* @format
*/
'use strict';
const createReactNativeComponentClass = require('../Renderer/shims/createReactNativeComponentClass');
module.exports = {
createReactNativeComponentClass,
};
@@ -7525,14 +7525,6 @@ declare module.exports: UIManagerJS;
"
`;
exports[`public API should not change unintentionally Libraries/ReactNative/ReactFabricInternals.js 1`] = `
"declare const createReactNativeComponentClass: $FlowFixMe;
declare module.exports: {
createReactNativeComponentClass: createReactNativeComponentClass,
};
"
`;
exports[`public API should not change unintentionally Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.js 1`] = `
"declare export default class ReactFabricHostComponent
implements INativeMethods