Skip to content

Added CHANGELOG and READMEs for DevTools v4 NPM packages (#16404) - #4

Open
Menkalian wants to merge 1 commit into
ds_132-fromfrom
ds_132-to
Open

Added CHANGELOG and READMEs for DevTools v4 NPM packages (#16404) #4
Menkalian wants to merge 1 commit into
ds_132-fromfrom
ds_132-to

Conversation

@Menkalian

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings December 25, 2025 18:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive documentation for React DevTools v4 NPM packages by introducing new README and CHANGELOG files.

  • Adds README files for react-devtools, react-devtools-inline, and react-devtools-core packages
  • Includes a detailed CHANGELOG documenting the major changes and improvements in DevTools v4
  • Provides installation instructions, usage examples, and API documentation for each package

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.

File Description
packages/react-devtools/README.md Comprehensive user guide covering installation, usage with React Native and React DOM, and development setup
packages/react-devtools/CHANGELOG.md Detailed changelog documenting v4.0.0 features including performance improvements, component filters, hooks support, and profiler enhancements
packages/react-devtools-inline/README.md API documentation and usage examples for embedding DevTools in browser-based IDEs with both sandboxed and non-sandboxed iframe configurations
packages/react-devtools-core/README.md Low-level API documentation for standalone DevTools implementation with configurable connection options

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


However, when `react-devtools` is running, Inspector will enter a special collapsed mode, and instead use the DevTools as primary UI. In this mode, clicking on something in the simulator will bring up the relevant components in the DevTools:

![React DevTools Inspector Integration](http://i.imgur.com/wVgV9RP.gif)

Copilot AI Dec 25, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Insecure HTTP URL used for external images. Consider using HTTPS to ensure secure content delivery.

Copilot uses AI. Check for mistakes.

Then select a React component in React DevTools. There is a search box at the top that helps you find one by name. As soon as you select it, it will be available as `$r` in the Chrome console, letting you inspect its props, state, and instance properties.

![React DevTools Chrome Console Integration](http://i.imgur.com/Cpvhs8i.gif)

Copilot AI Dec 25, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Insecure HTTP URL used for external images. Consider using HTTPS to ensure secure content delivery.

Copilot uses AI. Check for mistakes.

// React application can be injected into <iframe> at any time now...
// Note that this would need to be done via <script> tag injection,
// as setting the src of the <iframe> would load a new page (withou the injected backend).

Copilot AI Dec 25, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling error: "withou" should be "without".

Suggested change
// as setting the src of the <iframe> would load a new page (withou the injected backend).
// as setting the src of the <iframe> would load a new page (without the injected backend).

Copilot uses AI. Check for mistakes.
```js
import { activate, initialize } from "react-devtools-inline/backend";

// The DevTooks hook needs to be installed before React is even required!

Copilot AI Dec 25, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling error: "DevTooks" should be "DevTools".

Suggested change
// The DevTooks hook needs to be installed before React is even required!
// The DevTools hook needs to be installed before React is even required!

Copilot uses AI. Check for mistakes.
The `options` object may contain:
* `host: string` (defaults to "localhost") - Websocket will connect to this host.
* `port: number` (defaults to `8097`) - Websocket will connect to this port.
* `websocket: Websocket` - Custom websocked to use. Overrides `host` and `port` settings if provided.

Copilot AI Dec 25, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling error: "websocked" should be "websocket".

Suggested change
* `websocket: Websocket` - Custom websocked to use. Overrides `host` and `port` settings if provided.
* `websocket: Websocket` - Custom websocket to use. Overrides `host` and `port` settings if provided.

Copilot uses AI. Check for mistakes.

It works both with React DOM and React Native.

<img src="http://i.imgur.com/IXeHiZD.png" width="600" alt="Screenshot of React DevTools running with React Native">

Copilot AI Dec 25, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Insecure HTTP URL used for an external image. Consider using HTTPS to ensure secure content delivery: https://i.imgur.com/IXeHiZD.png.

Copilot uses AI. Check for mistakes.

You can open the [in-app developer menu](https://facebook.github.io/react-native/docs/debugging.html#accessing-the-in-app-developer-menu) and choose "Show Inspector". It will bring up an overlay that lets you tap on any UI element and see information about it:

![React Native Inspector](http://i.imgur.com/ReFhREb.gif)

Copilot AI Dec 25, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Insecure HTTP URL used for external images. Consider using HTTPS to ensure secure content delivery.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants