-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
default import for shallow is not working since 4.3.0 #1528
Comments
Oh, nice catch. It's because we have two exports, the bundler produces different outputs. |
@dai-shi I'm also having the same issue when using Commonjs(mainly for Jest now) with 4.3.0. The vanilla export is with version 4.3.0 not resolving, see https://codesandbox.io/s/zustand-vanilla-cjs-3e9m52 |
@stijnvanhulle |
@dai-shi Yes your latest commit fixes my issue 👍🏼 |
1 similar comment
@dai-shi Yes your latest commit fixes my issue 👍🏼 |
Summary
Since 4.3.0
import shallow from 'zustand/shallow'
is not working anymore.Link to reproduction
https://codesandbox.io/s/admiring-feather-0r46z8?file=/src/index.ts
The text was updated successfully, but these errors were encountered: