You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it just me or is the redux store global, so every request from one use for one session will affect the initial store state sent to client for others?
The text was updated successfully, but these errors were encountered:
That was a crappy mistake by me in an initial refactor when trying to sort out middleware. But it's sorted now. I'm not sure why the fetcher wouldn't complete before it rendered the app. There's an example in BarRoute for ensuring a promise action is complete before the initial SSR too.
Regarding global stores. There's also a socketStore that gets created for handling socket broadcasts using redux-via. This store is purposefully separate as it has to stay global for all sessions. I try to just use it as a purely a broadcaster and avoid giving it any state.
The part of my comment about fetcher not completing I removed because I realized I had broken it by not using Promise.all() when I did multiple promises in fetcher (not returning promise means it has nothing to wait for)
Is it just me or is the redux store global, so every request from one use for one session will affect the initial store state sent to client for others?
The text was updated successfully, but these errors were encountered: