Skip to content

convert Repliear to use the row versioning strategy#158

Open
tantaman wants to merge 25 commits intorocicorp:mainfrom
tantaman:main
Open

convert Repliear to use the row versioning strategy#158
tantaman wants to merge 25 commits intorocicorp:mainfrom
tantaman:main

Conversation

@tantaman
Copy link
Collaborator

@tantaman tantaman commented Nov 13, 2023

Based on todo-row-versioning. This won't diff well since it re-structured the app and switched to Vite.

Most relevant files:

Meta

Server

Note that past CVRs contribute to the current CVR. I.e., all data the client currently has is represented by all data we've ever sent. If any CVR is dropped we'll just re-fetch the rows that the CVR used to have.

Client

Note that I'm currently only allowing one tab to pull at once. This is explained in pull.ts in the comment above dropCVREntries. This is something I could fix if we want to keep the behavior of allowing tabs to sync the same data at the same time.

Loading
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.

3 participants