🌈 Feature
I have been using codesandbox for only 30 hours, and have lost my changes numerous times due to completely accidental backwards swipes. I've rewritten quite a lot of code due to accidental back navigation.
This last instance felt like at least 3+ minutes of data lost.
Codesandbox should save unsaved history into local storage as much as possible. Not a true "save" but a state save.
If there are performance considerations on too many saves, it could be hooked into things like file selection, new tab selection, a long poll, or on the onbeforeunload event.
Thank you for your awesome work!