SIGN IN SIGN UP

[react-devtools-facade] add host instance component lookup (#36820)

Adds a new tool to the Facade, where the input is the `HostInstance` and
the output is the corresponding component payload for the `HostFiber` of
this `HostInstance`. Supports multiple Host objects from Fiber:
`HostComponent`, `HostText`, `HostSingleton`, `HostHoistable`.

> [!NOTE]
> This doesn't bring much value now, because this returns the payload
for the corresponding HostFiber, not the closest user-defined Fiber.
This will be improved by adding a parentUid reference to the element
payload, so the agent can crawl up through the component tree.
R
Ruslan Lesiutin committed
e27313127e4b138bed374b2a931598ff42275620
Parent: d0d623d
Committed by GitHub <noreply@github.com> on 6/30/2026, 4:33:47 PM