automerge / automerge/sync-server

question: could you explain the need for the cbor-x in the client code?

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
14
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Hi, perhaps I'm misunderstanding something, I don't understand why the client code is making use of cbor-x rather than simply using something to the effect of:
```
const repo = new Repo({
network: [new BrowserWebSocketClientAdapter('

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the client code that uses cbor-x, the Repo setup with BrowserWebSocketClientAdapter, and the server-side sync-server example. Clarify why cbor-x is used and whether it is required for self-hosting a WebSocket server with file-system storage. Done means documenting the relationship and the minimal setup needed for the described use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.