From b8bb88d1756bdfafc5cb30fa1000192699ca0034 Mon Sep 17 00:00:00 2001 From: Pieter De Baets Date: Wed, 27 May 2026 04:26:08 -0700 Subject: [PATCH] Remove legacy SurfaceRegistry reference (#56972) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56972 No longer referenced by native Changelog: [Internal] Reviewed By: christophpurrer Differential Revision: D106357609 fbshipit-source-id: bc49538f7634230e667cad98f9beef0bd97c4f19 --- packages/react-native/Libraries/ReactNative/AppRegistry.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/react-native/Libraries/ReactNative/AppRegistry.js b/packages/react-native/Libraries/ReactNative/AppRegistry.js index 8e7162b01a0..2c7e36acf2b 100644 --- a/packages/react-native/Libraries/ReactNative/AppRegistry.js +++ b/packages/react-native/Libraries/ReactNative/AppRegistry.js @@ -29,12 +29,6 @@ AppRegistry.registerComponent('LogBox', () => { global.RN$AppRegistry = AppRegistry; -// Backwards compat with SurfaceRegistry, remove me later -global.RN$SurfaceRegistry = { - renderSurface: AppRegistry.runApplication, - setSurfaceProps: AppRegistry.setSurfaceProps, -}; - registerCallableModule('AppRegistry', AppRegistry); export {AppRegistry};