Skip to content

Zustand not working with webpack module federation #1881

Answered by dbritto-dev
olliepotter asked this question in Q&A
Discussion options

You must be logged in to vote

@olliepotter interesting, that error is coming from use-sync-external-store. A workaround for that could be use zustand/vanilla and useZustand that doesn't use use-sync-external-store package

Here you go: https://github.com/dai-shi/use-zustandp

Keep me in the loop

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
11 replies
@dbritto-dev
Comment options

Answer selected by dbritto-dev
@olliepotter
Comment options

@dbritto-dev
Comment options

@olliepotter
Comment options

@dbritto-dev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants