Loading...
Loading...
Inspect and profile React Native component trees from agent-device. Use when debugging React Native props, state, hooks, render causes, slow components, excessive re-renders, or questions like why a component re-rendered.
npx skill4agent add callstackincubator/agent-device react-devtoolsagent-device react-devtoolsagent-react-devtools@0.4.0agent-devicereact-devtools--agent-deviceagent-deviceagent-device react-devtools statusget treefindget component--device--udid--serial--state-diragent-device react-devtoolsstatusget treeagent-device react-devtools status
agent-device react-devtools wait --connected
agent-device react-devtools get tree --depth 3
agent-device react-devtools find <ComponentName>
agent-device react-devtools get component @c5
agent-device react-devtools profile start
agent-device react-devtools profile stop
agent-device react-devtools profile slow --limit 5
agent-device react-devtools profile rerenders --limit 5agent-deviceget tree --depth 3find <name>@c5wait --connectedprofile startprofile stopadb reverse tcp:8097 tcp:8097adb reverse tcp:8081 tcp:8081| File | When to read |
|---|---|
| commands.md | Command reference and common inspection flows |
| profiling.md | Render profiling workflow and interpretation |