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 future site breakage
Hello.
I've noticed, when you use react-quill it gives me the warning that I've mentioned in the title. according to this issue(3806) in the quill.js repo, it has been fixed in the version 2.0.0 of the quill js.
however, this issue is still present in the react-quill.
according to the react-quill source code, this warning, comes from this part of the code:
_this.domNode.addEventListener('DOMNodeInserted', function () {});
which is located at quill/dist/quill.js. I suppose, react-quill, uses the older version of the quill.js
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. Also follow https://github.com/zenoamaro/react-quill/pull/973 for updates on that.
怎么处理这个问题呢,急救
@you-sunshine 您试过使用我的react-quill-new吗?