react-native-reanimated-carousel icon indicating copy to clipboard operation
react-native-reanimated-carousel copied to clipboard

'Carousel' cannot be used as a JSX component.

Open nilesh-simform opened this issue 3 months ago • 2 comments

Getting 'Carousel' cannot be used as a JSX component when upgrading the react version to 19 and RN version > 78

Screenshots Image

Versions

  • react: v19.0.0
  • react-native: v0.79.6
  • react-native-reanimated: v3.18.0
  • react-native-reanimated-carousel: v4.0.3
  • react-native-gesture-handler: v2.26.0

nilesh-simform avatar Sep 17 '25 10:09 nilesh-simform

Hello, I have same problem here. Any workaround or fix coming ? Thanks

antek-p avatar Sep 24 '25 08:09 antek-p

This has something to do with your '@types/react' version. Downgrading it to something before 19.0.0 (e.g. 18.3.12) will resolve this error for now.

tychovr avatar Oct 09 '25 13:10 tychovr