Can't use with React-Native-Web/Expo Web #2916
Unanswered
arthur-fontaine
asked this question in
Bug report
Replies: 4 comments 5 replies
-
Related reports: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Can you somehow use CJS build? That's where we remove |
Beta Was this translation helpful? Give feedback.
4 replies
-
I upgraded from version 4.5.5 to 5.0.2 and it worked for me! I have
|
Beta Was this translation helpful? Give feedback.
0 replies
-
for some reason this is still happening for me "zustand": "^5.0.5" ![]() |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The following line uses
import.meta
which seems to be incompatible with React Native Web / Expo Web (see expo/expo#30323).zustand/src/middleware/devtools.ts
Line 164 in 51c00d2
It completely crashes my website (nothing shows).
In the mentioned issues, some have exported a specific umd version of their packages to address this issue. I don't know if it is something that you can consider.
Beta Was this translation helpful? Give feedback.
All reactions