diff --git a/src/lazy-observable.ts b/src/lazy-observable.ts index 4c1e0fa..fd08a89 100644 --- a/src/lazy-observable.ts +++ b/src/lazy-observable.ts @@ -53,7 +53,9 @@ export function lazyObservable( let currentFnc = () => { if (!started) { started = true - pending.set(true) + _allowStateChanges(true, () => { + pending.set(true) + }) fetch((newValue: T) => { _allowStateChanges(true, () => { value.set(newValue)