Skip to content
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

Assigning the store to the window object. #55

Open
ClaudiuCojocaru opened this issue Mar 14, 2024 · 0 comments
Open

Assigning the store to the window object. #55

ClaudiuCojocaru opened this issue Mar 14, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@ClaudiuCojocaru
Copy link

ClaudiuCojocaru commented Mar 14, 2024

Suggestion

Can you please explain the technical reason for this assignment?
I just tried out zustand in a new microfrontend application and it seems to fit all my needs. I am using zukeeper extenstion but did not assign the store to the window object because I have different stores for each microfrontend, and If i do that I just change the reference of window.store to point at another location.
Without this assignment it seems to work just fine, I was more concerned about the drawbacks.
Thank you!

@ClaudiuCojocaru ClaudiuCojocaru added the documentation Improvements or additions to documentation label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant