Skip to content
New issue

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

useSyncExternalStore/shim and vitejs #1932

Closed
1 task
vidarc opened this issue Jul 18, 2022 · 1 comment
Closed
1 task

useSyncExternalStore/shim and vitejs #1932

vidarc opened this issue Jul 18, 2022 · 1 comment

Comments

@vidarc
Copy link

vidarc commented Jul 18, 2022

What version of React, ReactDOM/React Native, Redux, and React Redux are you using?

  • React: 18.2.0
  • ReactDOM/React Native: 18.2.0
  • Redux: 4.2.0
  • React Redux: 8.0.2

What is the current behavior?

On load, throws an error about unable to read exports property on undefined. Seems exact same as this issue: apollographql/apollo-client#9670

What is the expected behavior?

Should be able to handle build tools that prefer ESM

Which browser and OS are affected by this issue?

No response

Did this work in previous versions of React Redux?

  • Yes
@timdorr
Copy link
Member

timdorr commented Jul 19, 2022

This isn't a problem with our library, but with use-sync-external-store. You should file a bug on that project, which is under the react repo: https://github.com/facebook/react/

@timdorr timdorr closed this as completed Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants