Failed to compile.
Attempted import error: 'useId' is not exported from 'react' (imported as 'e').
ERROR in ./node_modules/react-collapsed/dist/react-collapsed.esm.js 49:6-13
export 'useId' (imported as 'e') 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)
webpack compiled with 1 error
No issues found.
I don't know yet why the workaround mentioned in the 3.4.0 pull request works for material-ui and not in this project. Perhaps there is a key difference in how the two projects are distributed.