reactstrap icon indicating copy to clipboard operation
reactstrap copied to clipboard

Add support to React v19

Open mshima opened this issue 11 months ago • 6 comments

What is happening?

  • react-popper needs to be dropped or forked since it has a strict peer dependency on react 18 and it has been archived https://github.com/floating-ui/react-popper.

mshima avatar Dec 08 '24 13:12 mshima

Ya I think I'm seeing that this is affecting improper rendering of Dropdown. See this React 19 code sandbox for an example where the DropdownMenu is covering the DropdownToggle and the DropdownMenu does not align right/end even though right was passed as an option.

looloosha avatar Dec 26 '24 22:12 looloosha

Using the Carousel compnent I'm getting

e.findDOMNode is not a function
TypeError: _e.findDOMNode is not a function

johnnyreilly avatar Dec 27 '24 07:12 johnnyreilly

Any updates? We'd like to add React 19 support to the next JHipster release, and this is our only blocker.

mraible avatar Feb 05 '25 18:02 mraible

Eagerly awaiting this update as well.

khasty720 avatar Feb 05 '25 21:02 khasty720

React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. Error Component Stack
    at Nav2 (reactstrap.js?v=882ba4a2:3006:25)
    at Nav (<anonymous>)

Nav also have problem at 19 ;(

gwongibeom avatar Feb 26 '25 04:02 gwongibeom

any update on this?

laholstege avatar Apr 21 '25 18:04 laholstege

-- [email protected] | +-- [email protected] | | `-- [email protected] deduped invalid: "^16.8.0 || ^17 || ^18" from node_modules/reactstrap/node_modules/react-popper

dependency has problem

farisnceit avatar Aug 13 '25 06:08 farisnceit

defaultProps are no longer supported for functional components.

findDOMNode was removed.

Please update for React 19 ASAP.

alamothe avatar Oct 08 '25 13:10 alamothe

Do you have plans to update reactstrap to support React 19? No pressure, we need to decide whether to help or move to another solution!

CamileMacedo avatar Oct 21 '25 20:10 CamileMacedo