"Live it" is the first button in One Life: Reborn Simulator. You get a birth country rolled from real UN birth rates, you press it, and then you live one line per year
For about 5 days pressing it froze the whole tab
My save code wraps localStorage.setItem so every save also gets copied into Playgama's storage (their Bridge). The sandbox link has no portal storage, so Bridge just writes the value back with localStorage.setItem... which goes through my wrapper again, which sends it to Bridge again. Endless microtask loop, dead tab
The first save happens the moment you press Live it, so pretty much everyone got stuck on screen one
I'd tested on the real portal and on my own phone, where the storage exists. I never once clicked all the way through the sandbox link I was posting in 4 different threads
On the 5th someone I'd never seen commented that the page froze when they hit Live it. That's how I found out
The fix keeps every sent value in an in-flight list until it's done, and if the same value comes back it doesn't get sent again. Also added a test that reproduces the loop so it can't sneak back
It works now. Playgama wants 100 plays on the sandbox before the real review, so plays through this link help with that
https://playgama.ai/play/7hersnnnxaqs5l
Linking the patch notes in the first post back is a good way to restart. Question on the rebuild loop: when a mech comes over at the enemy's level, does it keep the loadout it had in that fight, or does it arrive stripped so you still have to spend items on it? The stripped version gives each capture a cost, which might matter more once enemies start getting upgrades on higher difficulties.