diagnose_hydration_and_suspense
Analyze React profiler exports to identify hydration mismatches and sequential Suspense waterfalls, enabling targeted performance fixes.
Instructions
Detects server-client hydration mismatches and sequential nested Suspense waterfalls by analyzing mount durations, unmount events, and timelines.
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>"
},
"name": "diagnose_hydration_and_suspense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile_path | Yes | Absolute path to the React DevTools Profiler export (.json) | |
| waterfall_threshold_ms | No | Timeline delta threshold in ms to detect Suspense waterfalls (default: 100) |