Repository navigation
Zustand (state management) is problematic in prod builds, use Redux Toolkit instead #417
stefroussos
started this conversation in
FYI
Replies: 1 comment 1 reply
|
@stefroussos do you have the error log when using zustand? I'm curious as to what it's complaining about, maybe ESM issue |
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.
I kept getting errors with zustand's create function after running
pnpm build(perhaps zustand needs a more advanced implementation to work properly with Plasmo). For people who need a global state management library, I recommend using redux-toolkit instead.All reactions