BLUE
PHP 7.4.33
Path:
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/react-native/Libraries/Debugging
Run
Logout
Edit File
Size: 900 B
Close
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/react-native/Libraries/Debugging/useSubscribeToDebuggingOverlayRegistry.js
Text
Base64
/** * 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 * @oncall react_native */ import type { AppContainerRootViewRef, DebuggingOverlayRef, } from '../ReactNative/AppContainer-dev'; import DebuggingOverlayRegistry from './DebuggingOverlayRegistry'; import {useEffect} from 'react'; const useSubscribeToDebuggingOverlayRegistry = ( rootViewRef: AppContainerRootViewRef, debuggingOverlayRef: DebuggingOverlayRef, ) => { useEffect(() => { const subscriber = {rootViewRef, debuggingOverlayRef}; DebuggingOverlayRegistry.subscribe(subscriber); return () => DebuggingOverlayRegistry.unsubscribe(subscriber); }, [rootViewRef, debuggingOverlayRef]); }; export default useSubscribeToDebuggingOverlayRegistry;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
DebuggingOverlay.js
2.67 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DebuggingOverlayNativeComponent.js
474 B
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DebuggingOverlayRegistry.js
16.92 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
useSubscribeToDebuggingOverlayRegistry.js
900 B
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).