find_render_triggers
Identify what causes a React component to re-render by analyzing props, state, context, and hooks, with memoization status and optimization suggestions.
Instructions
Analyze what triggers a component to re-render: props, state, context, hooks. Includes memoization status and optimization suggestions. Helps understand re-render causes without reading component internals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | File containing the component | |
| projectPath | Yes | Root path of the project | |
| componentName | Yes | Component name to analyze | |
| includeParentAnalysis | No | Whether to analyze parent render impacts (default: true) |