Skip to content

Example: real-time sync over a WebSocket relay #4

Description

@nmndwivedi

The store was designed for sync — every change emits a JSON-safe diff, and store.applyDiff(diff, "remote") keeps remote changes out of local undo. The README even sketches the client in four lines. What is missing is a runnable example: a tiny Node WebSocket relay plus an examples/sync page that opens two boards side by side.

No CRDT needed for v1 — last-writer-wins on record level is fine and honest for an example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions