Skip to content

React 19 Incompatibility — findDOMNode crash on Expand Column #1818

Open
@ajayjikadra

Description

@ajayjikadra

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!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions