import { MythikApp } from 'mythik-react'; import { MemorySpecStore } from 'mythik'; const specStore = new MemorySpecStore({ home: homeSpec }); export default function App() { return <MythikApp appSpec={appSpec} specStore={specStore} />; }
I've been building with AI for a while. It's incredible how much it helps. Until it isn't — until you ask for one small change and it touches three things you didn't want it to touch.
I kept thinking there had to be a way to keep the help without the surprise. Some way to give the AI room to work without giving it permission to break things you weren't watching.
Eventually I tried something simple. I stopped letting the AI write code, and started letting it write JSON. Just data — a description of what the UI should be. A renderer I'd already built and tested would take care of the rest.
It's been working for me. It's not perfect, and it's not for every project. But if you've felt the same friction, maybe it'll help you too.