-
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Great library. Looking into using this for our realtime form collaboration feature.
Doing a simple fork crashes using the latest Version:
import { Model } from "json-joy/esm/json-crdt";
const model = Model.withServerClock();
model.api.set({ foo: "bar" });
// this does not work
const forkedModel = model.fork();
Same behaviour when using toBinary()
and fromBinary()
.
Any help would be greatly appreciated.
Environment:
json-joy 17.49.1
vite 6.3.5
pnpm 10.11.0
Copilot
Metadata
Metadata
Assignees
Labels
No labels