You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and just called handleSync function, at the end of useEffect().
but it seems to be not working, I can't see remote changes only local changed on tldraw canvas, and In browser console I'm getting this error: error.js:12 Uncaught (in promise) Error: A Yjs Doc connected to room "example17" already exists!
I guess its creating duplicate rooms with same id, but I'm not sure why and which change is causing it.
The text was updated successfully, but these errors were encountered:
I'm having difficulty to use this example with y-webrtc, even though I suppose the changes should be not much looking at the code of this example.
I changed this line with
webrtcProvider
.tldraw-yjs-example/src/useYjsStore.ts
Line 57 in ed7d759
and removed this lines, since I guessed this lines has to do with websocket provider only.
tldraw-yjs-example/src/useYjsStore.ts
Lines 294 to 320 in ed7d759
and just called
handleSync
function, at the end ofuseEffect()
.but it seems to be not working, I can't see remote changes only local changed on tldraw canvas, and In browser console I'm getting this error:
error.js:12 Uncaught (in promise) Error: A Yjs Doc connected to room "example17" already exists!
I guess its creating duplicate rooms with same id, but I'm not sure why and which change is causing it.
The text was updated successfully, but these errors were encountered: