Describe the bug
When using a basic Next.js app, the real-time collaboration feature shown in the documentation causes an infinite stream of updates when focusing the editor, leading to constant flickering and re-renders.
To Reproduce
https://github.com/rodobre/blocknote-collaboration-issue
Misc
Video:
https://cdn.discordapp.com/attachments/1015169282444894219/1182540721383821412/Screen_Recording_2023-12-08_at_05.31.10.mov?ex=658511de&is=65729cde&hm=5584f4d456219294547853f0f8fa4920f6df7120c0cb429ee0fb7e1212733eef&
Note:
This also happens on Webrtc with y-webrtc using the documentation code, the problem does not seem to be provider-related:
const provider = new WebrtcProvider("my-document-id", doc); // setup a yjs
Describe the bug
When using a basic Next.js app, the real-time collaboration feature shown in the documentation causes an infinite stream of updates when focusing the editor, leading to constant flickering and re-renders.
To Reproduce
https://github.com/rodobre/blocknote-collaboration-issue
Misc
Video:
https://cdn.discordapp.com/attachments/1015169282444894219/1182540721383821412/Screen_Recording_2023-12-08_at_05.31.10.mov?ex=658511de&is=65729cde&hm=5584f4d456219294547853f0f8fa4920f6df7120c0cb429ee0fb7e1212733eef&
Note:
This also happens on Webrtc with
y-webrtcusing the documentation code, the problem does not seem to be provider-related: