Tweet
Replying to @daveseidman and @dannyaroslavski
FWIW when I do this I wrap the executing statement in a try catch block, e.g. https://git.benetou.fr/utopiah/text-code-xr-engine/src/branch/xr-to-2D-board/jxr-core.js#L469 .
It’s safer… but it’s also limited, e.g. you can’t swap the game engine itself. I had in mind JS Realms for that https://x.com/utopiah/status/1804918544280269221 but I didn’t explore more there.
(original)