trace_render_cascade
Identify why a React commit occurred and see all components that re-rendered, sorted by duration, to expose cascading updates such as a context change propagating to many children.
Instructions
For a specific React commit (render cycle), shows what triggered it and lists every component that re-rendered as a result, sorted by actual duration descending. Reveals propagation — e.g. a context update cascading into 40 children. Call get_render_summary first to find total_commits, then use 0-based commit_index.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"profile_path": "<profile_path>",
"commit_index": "<commit_index>"
},
"name": "trace_render_cascade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit_index | Yes | Zero-based index of the commit to inspect | |
| profile_path | Yes | Absolute path to the React DevTools Profiler export (.json) |