react-bootstrap-table2 icon indicating copy to clipboard operation
react-bootstrap-table2 copied to clipboard

React 19 Incompatibility — findDOMNode crash on Expand Column

Open ajayjikadra opened this issue 7 months ago • 1 comments

React 19 Incompatibility — findDOMNode crash on Expand Column

Image

Package: react-bootstrap-table-next v4.0.3 (and related: react-bootstrap-table2-overlay, react-bootstrap-table2-paginator)

Environment: React: 19.1.0 Browser: Any (Chrome/Edge/etc.) Framework: React

❌ Current Behavior Using the expandRow prop to enable expandable rows causes a runtime crash in React 19. When using this library with React 19, it throws the following runtime error and breaks the app:

Error handled by React Router default ErrorBoundary: 
TypeError: react_dom__WEBPACK_IMPORTED_MODULE_3__.findDOMNode is not a function
    at Transition.performEnter (Transition.js:254:1)

Additionally, the console shows:

Warning: Transition uses the legacy childContextTypes API which was removed in React 19. 
Use React.createContext() instead. https://react.dev/link/legacy-context

This project is still widely used and relied upon for Bootstrap-based data tables. A compatibility update or clear deprecation notice would help the community a lot.

Thank you for maintaining this library!

ajayjikadra avatar Jun 24 '25 07:06 ajayjikadra

Hi, any updates or workarounds for this? Currently trying to get this working in my project use React 19.1.

joshlathery avatar Oct 27 '25 17:10 joshlathery