Skip to content

Conversation

@glastonbridge
Copy link
Collaborator

This is based on #632 but with the yjs implementation unlinked in favour of IndexedDB.

Zustand persistence is based on serialising the whole store to a string, and each revision in history is just a complete copy of the project as a string. This may not be size-efficient but it works.

There are no CRDT-like semantics, any conflicts between versions would need to be detected and resolved separately.

@github-actions
Copy link

Preview build will be at
https://review-createai.microbit.org/localstorage-projects-2/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants