[react-devtools-cdt-mcp] add DOM element component lookup by hoxyq · Pull Request #36822 · react/react · GitHub
Skip to content

[react-devtools-cdt-mcp] add DOM element component lookup#36822

Open
hoxyq wants to merge 1 commit into
rtcm-1-host-element-component-toolfrom
rtcm-1-cdt-mcp-dom-component-tool
Open

[react-devtools-cdt-mcp] add DOM element component lookup#36822
hoxyq wants to merge 1 commit into
rtcm-1-host-element-component-toolfrom
rtcm-1-cdt-mcp-dom-component-tool

Conversation

@hoxyq

@hoxyq hoxyq commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Integrates newly added getComponentByHostInstance tool from react-devtools-facade into react-devtools-cdt-mcp.

The API uses uid of the element from CDT MCP tree snapshot, but under the hood it gets converted to the DOM Element reference, which is exactly what we pass to getComponentByHostInstance.

@meta-cla meta-cla Bot added the CLA Signed label Jun 19, 2026
@hoxyq hoxyq force-pushed the rtcm-1-cdt-mcp-dom-component-tool branch from 9676486 to c17b5d5 Compare June 19, 2026 10:51
@hoxyq hoxyq requested a review from eps1lon June 19, 2026 13:00
@hoxyq hoxyq marked this pull request as ready for review June 19, 2026 13:01
@hoxyq hoxyq requested a review from jackpope June 19, 2026 13:01
daltino

This comment was marked as spam.

@hoxyq hoxyq force-pushed the rtcm-1-host-element-component-tool branch from 8f33efd to fd51733 Compare June 24, 2026 11:43
@hoxyq hoxyq force-pushed the rtcm-1-cdt-mcp-dom-component-tool branch from c17b5d5 to bdadf81 Compare June 24, 2026 11:43
@hoxyq hoxyq force-pushed the rtcm-1-host-element-component-tool branch from fd51733 to 4d003f5 Compare June 24, 2026 12:30
@hoxyq hoxyq force-pushed the rtcm-1-cdt-mcp-dom-component-tool branch 2 times, most recently from e7e6646 to 336b0ef Compare June 24, 2026 13:09
@hoxyq hoxyq force-pushed the rtcm-1-host-element-component-tool branch from 4d003f5 to 7c90763 Compare June 24, 2026 13:32
@hoxyq hoxyq force-pushed the rtcm-1-cdt-mcp-dom-component-tool branch from 336b0ef to bebdffa Compare June 24, 2026 13:32
@hoxyq hoxyq force-pushed the rtcm-1-host-element-component-tool branch from 7c90763 to cd2f1d7 Compare June 24, 2026 13:44
@hoxyq hoxyq force-pushed the rtcm-1-cdt-mcp-dom-component-tool branch from bebdffa to 1ebd606 Compare June 24, 2026 13:44
@hoxyq hoxyq force-pushed the rtcm-1-host-element-component-tool branch from cd2f1d7 to 2b8e81a Compare June 25, 2026 08:57
@hoxyq hoxyq force-pushed the rtcm-1-cdt-mcp-dom-component-tool branch from 1ebd606 to 8ac01a7 Compare June 25, 2026 08:57
@hoxyq hoxyq force-pushed the rtcm-1-host-element-component-tool branch from 2b8e81a to 3a78538 Compare June 25, 2026 12:59
@hoxyq hoxyq force-pushed the rtcm-1-cdt-mcp-dom-component-tool branch from 8ac01a7 to f999442 Compare June 25, 2026 12:59
@hoxyq hoxyq force-pushed the rtcm-1-host-element-component-tool branch from 3a78538 to 0125f3e Compare June 25, 2026 13:32
@hoxyq hoxyq force-pushed the rtcm-1-cdt-mcp-dom-component-tool branch from f999442 to d8d5aa1 Compare June 25, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants