
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-native-devtools-standalone
Advanced tools
Standalone React DevTools for integration with React Native

Standalone react-devtools for integration with React Native

┌────────────────────┐ ┌─────────────────────┐
│ Dev Server │ │ React Native │
│┌──────────────────┐│ │ │
││ (Proxy) ││ ┌────► react-devtools-core │
││ WebSocket Server ◄─────┘ │ (WebSocket) │
││ ▲ ││ └─────────────────────┘
││ │ ││ ┌─────────────────────────┐
││ ▼ ││ │ React DevTools Frontend │
││ WebSocket Server ◄─────┐ │ │
│└──────────────────┘│ └────► WebSocket Client │
└────────────────────┘ └─────────────────────────┘
npm install react-native-devtools-standalone
# or
yarn add react-native-devtools-standalone
import * as http from 'node:http';
import { setupDevToolsProxy } from 'react-native-devtools-standalone/backend';
const server = http.createServer();
const config: DevToolsProxyConfig = /* */;
setupDevToolsProxy(config);
server.listen(...);
interface DevToolsProxyConfig {
/**
* Configurations for client(React Native).
*/
client?: {
/**
* Dev server host.
*/
host?: string;
/**
* `__REACT_DEVTOOLS_PORT__` value in React Native runtime.
*
* @see https://github.com/facebook/react-native/blob/v0.73.5/packages/react-native/Libraries/Core/setUpReactDevTools.js#L50-L53
*
* Defaults to `8097`
*/
port?: number;
/**
* WebSocket delegate
*/
delegate?: ProxyWebSocketDelegate;
};
/**
* Configurations for React DevTools.
*/
devtools?: {
/**
* Dev server host.
*/
host?: string;
/**
* Port for DevTools to connect.
*
* Defaults to `8098`
*/
port?: number;
/**
* WebSocket delegate
*/
delegate?: ProxyWebSocketDelegate;
};
}
import { setupDevTools } from 'react-native-devtools-standalone/frontend';
const config: DevToolsConfigs = {
element: document.getElementById('container'),
/* */
};
setupDevTools(config);
import type {
Config as DevtoolsStoreConfig,
DevtoolsProps,
} from 'react-devtools-inline/frontend';
interface DevToolsConfigs {
/**
* Element to render DevTools.
*/
element: HTMLElement;
/**
* Proxy web socket server host.
*
* Defaults to `'localhost'`
*/
host?: string;
/**
* Proxy web socket server port.
*
* Defaults to `8098`
*/
port?: number;
/**
* React DevTools store config.
*/
devtoolsStoreConfig?: DevtoolsStoreConfig;
/**
* React DevTools props.
*
* Defaults to `{ showTabBar: true, hideViewSourceAction: true }`
*/
devtoolsProps?: DevtoolsProps;
/**
* WebSocket delegate.
*/
delegate?: ProxyWebSocketDelegate;
}
# start dev server (http://localhost:3000/index.html)
yarn start
FAQs
Standalone React DevTools for integration with React Native
The npm package react-native-devtools-standalone receives a total of 330 weekly downloads. As such, react-native-devtools-standalone popularity was classified as not popular.
We found that react-native-devtools-standalone demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.