React questions, with the component in front of you
React bugs are usually about when state updates and what renders because of them. Paste the component and ask about the render path, not about React in general.
Useful questions
Ask why a child renders again, which state belongs in the component, and whether an effect is synchronizing something external or just copying props.
Ask for a smaller component split when one file owns fetching, form state, and layout.
What CursorBot will not pretend
It does not know your design system, your router, or your data cache unless you paste them. Say which libraries you use.
Example prompt
This list re-renders on every keystroke in an unrelated input. Explain the state boundary and suggest a structure that keeps the input responsive.
- Include the parent that owns the state.
- Mention if you use a server component or a client component.
Questions
Does it only support React?
No. React is one workflow. The same chat can review TypeScript, SQL, or tests.