Post

Claude Code works really great until it hit's a problem that is sufficiently difficult. Just hit a wall where it wasn't able to understand why a React modal was kept open and the close buttons weren't working to close it.

The bug actually happened because we earlier added a click handler on the parent component it would immediately re-open the modal. That on its own seemed like a good change and without context for the underlying modal on the clicked element, it didn't seem to impact much.

0 reposts1 like

Gemini 2.5 pro in Cursor was able to figure it out because I could shape the context of what it knew better around the problem rather than just relying on Claude Code to try to figure it out. These tools are cool but still important as ever to know escalation paths to solving problems