zenoamaro / react-quill

A Quill component for React.
https://zenoamaro.github.io/react-quill
MIT License
6.79k stars 924 forks source link

Warning: findDOMNode is deprecated and will be removed in the next major release #981

Open Sanan4li opened 5 months ago

Sanan4li commented 5 months ago

In version 2.0.0 I am facing the following warning

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. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node
    at ReactQuill2 (http://localhost:5173/node_modules/.vite/deps/react-quill.js?v=059ca5df:13296:30)

Ticket due diligence

ReactQuill version

codeAdityagithub commented 5 months ago

I have also encountered the same warning while using react-quill with remix-run. Any update will be appreciated.

centinel3 commented 5 months ago

Is this project abandoned? Last updates are over 2 years ago.

NafiGit commented 5 months ago

Same warning of depreciation.

rahulspace commented 4 months ago

Same here. Have to use ref instead. https://react.dev/reference/react-dom/findDOMNode#alternatives

ct-dixit commented 3 months ago

Same warning of depreciation.

Rongon commented 3 months ago

The react-quill-new package mentioned by the bro VaguelySerious has been tested and proven effective, the warning has disappeared. Also follow https://github.com/zenoamaro/react-quill/pull/973 for updates on that.