Skip to content

Workspace state not persisted, page refresh wipes all code #15

@vivek1504

Description

@vivek1504

Description

All code and file changes are lost on page refresh. There is no persistence mechanism (localStorage, IndexedDB, or cloud sync) for the workspace state.

Expected behavior

Code written in the editor should survive a page reload.

Actual behavior

Refreshing the page resets the IDE to the default template, discarding any work.

Suggested fix

Persist the virtual file system to IndexedDB or localStorage on every change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions