Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/react-native/Libraries/Core/setUpReactDevTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@

'use strict';

import type {Domain} from '../../src/private/fusebox/setUpFuseboxReactDevToolsDispatcher';
import type {Domain} from '../../src/private/debugging/setUpFuseboxReactDevToolsDispatcher';

if (__DEV__) {
// Register dispatcher on global, which can be used later by Chrome DevTools frontend
require('../../src/private/fusebox/setUpFuseboxReactDevToolsDispatcher');
require('../../src/private/debugging/setUpFuseboxReactDevToolsDispatcher');
const {
initialize,
connectToDevTools,
connectWithCustomMessagingProtocol,
} = require('react-devtools-core');

const reactDevToolsSettingsManager = require('../../src/private/reactdevtools/ReactDevToolsSettingsManager');
const reactDevToolsSettingsManager = require('../../src/private/debugging/ReactDevToolsSettingsManager');
const serializedHookSettings =
reactDevToolsSettingsManager.getGlobalHookSettings();

Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/Libraries/LogBox/Data/LogBoxData.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import type {
Message,
} from './parseLogBoxLog';

import DebuggerSessionObserver from '../../../src/private/fusebox/FuseboxSessionObserver';
import DebuggerSessionObserver from '../../../src/private/debugging/FuseboxSessionObserver';
import parseErrorStack from '../../Core/Devtools/parseErrorStack';
import NativeDevSettings from '../../NativeModules/specs/NativeDevSettings';
import NativeLogBox from '../../NativeModules/specs/NativeLogBox';
Expand Down
1 change: 1 addition & 0 deletions packages/react-native/src/private/debugging/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__docs__
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ export class Domain {
}
}

/**
* Globally bound object providing a hook for React DevTools runtime API calls
* over CDP.
*
* @see {@link ./__docs__/FuseboxReactDevToolsDispatcher.excalidraw-embedded.png}
*/
class FuseboxReactDevToolsDispatcher {
static #domainNameToDomainMap: Map<DomainName, Domain> = new Map();

Expand Down
1 change: 0 additions & 1 deletion packages/react-native/src/private/fusebox/.npmignore

This file was deleted.

12 changes: 0 additions & 12 deletions packages/react-native/src/private/fusebox/README.md

This file was deleted.

Binary file not shown.
Binary file not shown.