Zukeeper icon indicating copy to clipboard operation
Zukeeper copied to clipboard

Assigning the store to the window object.

Open ClaudiuCojocaru opened this issue 1 year ago • 0 comments

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 avatar Mar 14 '24 12:03 ClaudiuCojocaru