react-pivottable
react-pivottable copied to clipboard
fix: make the library compatible with React 19
Why is it needed
Library crashes instantly when someone presses on a filter to open the dropdown with possible values with a "t.findDOMNode is not a function" error.
Why is it happening
react-pivottable is using an older version of react-draggable library that uses a currently deprecated API from React: ReactDOM.findDOMNode.
What is changed
-
react-draggableupgraded to@^4.5.0 - Added the necessary
nodeRefandrefprops as perreact-draggabledocs - Added the
preparescript to be able to install it from my fork :)