react-tabs icon indicating copy to clipboard operation
react-tabs copied to clipboard

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

Open Gurinder-Batth opened this issue 4 years ago • 5 comments

Gurinder-Batth avatar May 14 '22 15:05 Gurinder-Batth

Same issue

benb1983 avatar May 16 '22 08:05 benb1983

Yep, getting a similar error too

image

AwolDes avatar May 17 '22 05:05 AwolDes

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 avatar May 18 '22 15:05 danez

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.

danez avatar May 18 '22 15:05 danez

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

quantum-quant avatar Dec 29 '22 03:12 quantum-quant