Repository navigation
New Document Editor + Yjs type #998 - #1124
Conversation
|
@cursor review |
PR SummaryAdds YDoc/Yjs across the stack (datatype, commits/yUpdate, WS sync, search indexing, CLI input) and updates React hooks while bumping React to 19.2.
Written by Cursor Bugbot for commit 993bed2. This will update automatically on new commits. Configure here. |
There was a problem hiding this comment.
This PR is being reviewed by Cursor Bugbot
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
| serverUrl, | ||
| }); | ||
|
|
||
| await enableYjs(); |
There was a problem hiding this comment.
Bug: Top-Level Await Disrupts System Initialization
Top-level await enableYjs() call makes the module async, causing potential issues with React and build tool initialization. This should be called within a React effect or effect hook instead, or handled during store initialization within the App component.
Related Issues
relates to #998
closes #720, closes #1111, closes #741
Checklist