We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f61e4e5 commit dd3f8b9Copy full SHA for dd3f8b9
packages/plexus-core/src/state.ts
@@ -171,6 +171,9 @@ export class StateInstance<StateValue> extends WatchableMutable<StateValue> {
171
if (name) this._internalStore._name = `state_${name}`
172
173
if (this.instance().storage) {
174
+ this._internalStore._persist = true
175
+ this.persistSync()
176
+
177
// Bandaid
178
;(async () => {
179
// this should only run on initial load of the state when this function is called
0 commit comments