Bug when importing zustand/middleware persist #2817
Unanswered
pedroafsouza
asked this question in
Bug report
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I back ported the code for Zustand persist and published a package at: |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Bug Description
I am using react expo and trying to use the vanila example with zustand/middleware.
However, when I try to use this. I get the following error in browser or expo.
Uncaught SyntaxError: Cannot use 'import.meta' outside a module (at node_modules%5Cexpo-router%5Centry.bundle?platform=web&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.routerRoot=app:65074:67)My current package.json:
Reproduction Link
na
Beta Was this translation helpful? Give feedback.
All reactions