V0 breaks my code with almost every other prompt

It’s very exhausting to me that v0’s code editor takes a jackhammer to my entire code when I ask for changes to one simple element like a dropdown. I’ve repeated multiple times that it should only make changes to the specific elements I ask it to change and it has promised multiple times to follow this directive and yet it does this again and again. Is there an end in sight to this constantly repeating bug? It has gotten to a point where I’m scared to use this tool at all.

Hello, you can use designer mode, select the element you want to change, and send the prompt. That works for me when I want to change something specific. I also usually send the specific path if it is a page.

If you get stuck in a loop, it’s best to go back to the working version and try using my advice.

v0’s code regeneration is a known pain point. The model tends to rewrite entire files even when asked for surgical changes.

Two approaches that help: (1) Be extremely specific about what NOT to touch in your prompt - “only modify the dropdown component, leave all other UI and logic untouched”, or (2) use v0 for scaffolding your basic structure, then make incremental changes in your own editor once you have something working. The second approach gives you more control over what changes.

What part of your app keeps getting broken when you ask for dropdown changes?