You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using react and react-dom 17 version in my app and I can't migrate to it version 18 because many npm package that I have installed are not fully compatible with react 18
Hence here I am getting this error here
ERROR in ./node_modules/its-fine/dist/index.js 67:13-24
export 'useId' (imported as 'React') was not found in 'react' (possible exports: Children, Component, Fragment, Profiler, PureComponent, StrictMode, Suspense, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, cloneElement, createContext, createElement, createFactory, createRef, forwardRef, isValidElement, lazy, memo, useCallback, useContext, useDebugValue, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState, version)
So How to resolve this , I have no idea that this package is a dependency package of some other package or what but I have not installed this package in my app
The text was updated successfully, but these errors were encountered:
i think you need to move back to an older fiber release, i think 6. the 18 release was critical for fiber as it isn't a library but a renderer, it relies on far more than a few react hooks.
btw 17-18, are you sure? i wasn't aware there were breaking changes in 18.
useId was introduced in React 18, which is the minimum supported by this package and any packages that depend on it. For R3F, the version you'll want to target is 7.0.29, and for react-konva 16.13.0.
Hi ,
I am using react and react-dom 17 version in my app and I can't migrate to it version 18 because many npm package that I have installed are not fully compatible with react 18
Hence here I am getting this error here
ERROR in ./node_modules/its-fine/dist/index.js 67:13-24
export 'useId' (imported as 'React') was not found in 'react' (possible exports: Children, Component, Fragment, Profiler, PureComponent, StrictMode, Suspense, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, cloneElement, createContext, createElement, createFactory, createRef, forwardRef, isValidElement, lazy, memo, useCallback, useContext, useDebugValue, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState, version)
So How to resolve this , I have no idea that this package is a dependency package of some other package or what but I have not installed this package in my app
The text was updated successfully, but these errors were encountered: