find_react_memo_opportunities
Identify React components receiving non-primitive objects, arrays, or functions without memo(), and flag JSX creating new values per render to suggest React.memo usage.
Instructions
Components with non-primitive props (objects/arrays/functions) without memo() and JSX with new values per render (performance heuristic).
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": {
"name": "<name>"
},
"name": "find_react_memo_opportunities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name or path of the loaded project |