facebook / react

The library for web and native user interfaces.
https://react.dev
MIT License
224.28k stars 45.7k forks source link

findDOMNode has been deprecated and removed from react-dom in the latest versions, including the React 19.0.0 beta. #29123

Closed krishnagptamcs closed 1 month ago

krishnagptamcs commented 1 month ago

[React 19] [Bug] , i am using an library called react-virtualised , i am getting this error "Attempted import error: 'findDOMNode' is not exported from 'react-dom' (imported as 'findDOMNode')." it means "that findDOMNode has been deprecated and removed from react-dom in the latest versions, including the React 19.0.0 beta."

CodeSandbox : https://codesandbox.io/p/sandbox/react-dom-error-2mdwjd

eps1lon commented 1 month ago

The removal was intentional. For discussion around this topic, please check out https://github.com/facebook/react/issues/28926

krishnagptamcs commented 4 weeks ago

I am using react-virtulisastion library ! , i am getting in this library only , suggest me another library , which does not throw this error , for react 19 @eps1lon