-
-
Notifications
You must be signed in to change notification settings - Fork 555
refactor: new react mounting system #1438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice code 😂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good code-wise. Let's hope tiptap merges v3 to make this even simpler!
This refactors the old mounting system for React. The biggest improvement is that we don't need
queueMicrotask
in several areas anymore which was a bit of a code smell and possible source for race conditions.Also cleans up an outdated workaround re onDrop / onPaste that shouldn't be necessary with recent TipTap versions anymore