reactjs / react-tabs

An accessible and easy tab component for ReactJS.
https://reactcommunity.org/react-tabs/
MIT License
3.1k stars 447 forks source link

UncontrolledTabs.js Eror: Uncaught TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.useId) is not a function #477

Closed Gurinder-Batth closed 2 years ago

benb1983 commented 2 years ago

Same issue

AwolDes commented 2 years ago

Yep, getting a similar error too

image

danez commented 2 years ago

How do you use react-tabs? Installed via npm or umd bundle? Where/when does the error appear? In the browser at runtime or during build?

danez commented 2 years ago

Okay I just noticed that the error is about useId. The latest version (v5) of react-tabs does require react 18.0.0 as a minimum. If you happen to use an older react version please use react-tabs version 4.

quantum-quant commented 1 year ago

I still have the same issue even after using reac-tabs version 4 with an older react version (17.0.2)