Skip to content

Localstorage projects (IndexedDB reference) - #633

Closed
glastonbridge wants to merge 3 commits into
mainfrom
localstorage-projects-2
Closed

Localstorage projects (IndexedDB reference)#633
glastonbridge wants to merge 3 commits into
mainfrom
localstorage-projects-2

Conversation

@glastonbridge

Copy link
Copy Markdown
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
Copy Markdown

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