We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6.4.0
https://github.com/remix-run/react-router/tree/remixing/examples/notes but with CRA + React 17
git clone https://github.com/haivuw/react-router-6.4.0-reproduction
yarn && yarn start
React 17 + webpack should compile without errors.
Webpack failed to compile/build:
Failed to compile. Attempted import error: 'startTransition' is not exported from 'react' (imported as 'startTransition'). ERROR in ./node_modules/react-router/index.js 61:10-25 export 'startTransition' (imported as 'startTransition') 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) ERROR in ./node_modules/react-router/index.js 196:0-22 export 'useSyncExternalStore' (imported as 'useSyncExternalStore$3') 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) ERROR in ./node_modules/react-router/index.js 196:39-61 export 'useSyncExternalStore' (imported as 'useSyncExternalStore$3') 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 3 errors
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of React Router are you using?
6.4.0
Steps to Reproduce
https://github.com/remix-run/react-router/tree/remixing/examples/notes but with CRA + React 17
git clone https://github.com/haivuw/react-router-6.4.0-reproduction
yarn && yarn start
Expected Behavior
React 17 + webpack should compile without errors.
Actual Behavior
Webpack failed to compile/build:
The text was updated successfully, but these errors were encountered: