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
It is not immediately apparent that each store module needs to be a function that returns a fresh module, which needs to be combined with other store modules when the root store is created afresh.
The above sentence is really confusing. See discussion here to understand what I mean:
Well, I don't need anything at the moment. @LinusBorg helped me to find out this was what I was missing and we thought it might be a good idea to add it to the documentation.
Then maybe there should be a mention there that this is what is required for SSR to function properly when using runInNewContext: false? I still don't understand why this is better, though.
What problem does this feature solve?
It is not immediately apparent that each store module needs to be a function that returns a fresh module, which needs to be combined with other store modules when the root store is created afresh.
The above sentence is really confusing. See discussion here to understand what I mean:
https://forum.vuejs.org/t/debugging-state-pollution-with-the-new-behaviour-of-vue-2-3-ssr/11724
What does the proposed API look like?
This is a documentation suggestion.
The text was updated successfully, but these errors were encountered: