Closed rodobre closed 4 months ago
Related to this:
https://github.com/ueberdosis/tiptap/issues/4482
Bug only occurs in dev due to React strict mode. Feel free to close the issue if you think no fix can be done on BlockNote's end.
Thanks for reporting this! Seems like the TipTap guys are still working on this, hopefully we see a fix from them relatively soon
StrictMode + collab now works again in the new version! We improved our React architecture
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: