Skip to content
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

deprecated issue #988

Open
tanzeel-512 opened this issue Jun 28, 2024 · 3 comments
Open

deprecated issue #988

tanzeel-512 opened this issue Jun 28, 2024 · 3 comments

Comments

@tanzeel-512
Copy link

Warning: findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference.

[Deprecation] Listener added for a 'DOMNodeInserted' mutation event. This event type is deprecated, and will be removed from this browser VERY soon. Usage of this event listener will cause performance issues today, and represents a large risk of imminent site breakage. Consider using MutationObserver instead.

@hugopqt
Copy link

hugopqt commented Jul 9, 2024

Yes so same issue here, I use "react-quill": "^2.0.0" in my react app, and in the browser I receive "quill.js:4233 [Deprecation] Listener added for a 'DOMNodeInserted' mutation event. This event type is deprecated, and will be removed from this browser VERY soon. Usage of this event listener will cause performance issues today, and represents a large risk of imminent site breakage. Consider using MutationObserver instead. See https://chromestatus.com/feature/5083947249172480 for more information." I was hoping it would be fix it in 2.0.0 but still I receive this warning, knowing that there wont be mutation events in Chrome 127 (going stable on July 30 2024) it seems like a big issue for us, any fix coming in the next weeks?

@VaguelySerious
Copy link

This repository is not being maintained, so I'm maintaining a fork in the interim. Have you tried replacing react-quill with the forked react-quill-new? The fork updates the underlying Quill dependency that uses the deprecated event to use the newer API instead. Also follow #973 for updates on that.

@Rongon
Copy link

Rongon commented Aug 12, 2024

The react-quill-new package mentioned by the bro VaguelySerious has been tested and proven effective, the warning has disappeared. Also follow #973 for updates on that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants