-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
Description
Link to minimal reproducible example
no
Summary
we are using useSyncExternalStore, which is newly introduced in react 18. So it doesn't work with react 17
ERROR in ./node_modules/@web3modal/scaffold-react/dist/esm/index.js 55:21-41
export 'useSyncExternalStore' (imported as 'useSyncExternalStore') 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)
List of related npm package versions
"react": "^17.0.2"
Reactions are currently unavailable