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
Sometimes we call store.$patch(m.initialState); which works but it might be faster to instead find a way to supply Pinia with the initial state before we create the store. The previous Vuex store approach with automatic Mutation handling couldn't support this optimisation but I'm hopeful we can make it work now.
Maybe we need to use a PiniaPlugin to supply a runtime default state to the store definition function.
The text was updated successfully, but these errors were encountered:
Sometimes we call
store.$patch(m.initialState);
which works but it might be faster to instead find a way to supply Pinia with the initial state before we create the store. The previous Vuex store approach with automatic Mutation handling couldn't support this optimisation but I'm hopeful we can make it work now.Maybe we need to use a PiniaPlugin to supply a runtime default state to the store definition function.
The text was updated successfully, but these errors were encountered: