The screen keeps changing by itself
Code state-loop
What happened
Every time the screen is drawn, the app changes its state again, so it never settles.
How to fix it
Ask your AI to change state only inside button handlers or timers, never inside the view function.
Still stuck? Ask your AI.
This copies the problem and the Aster notes. Paste it into the same chat where your AI wrote the app.
Made for fun.
See the workA record of what gets built at home with AI coding agents, and how.