don't delete observables whose value is undefined

This commit is contained in:
Matt Hill
2021-10-13 09:47:32 -06:00
parent 66906b87f3
commit 1037e11297

View File

@@ -152,8 +152,6 @@ export class Store<T extends { [key: string]: any }> {
if (path.includes(revisionPath) || revisionPath.includes(path)) {
const val = getValueByPointer(this.cache.data, path)
if (val === undefined) return kill(path)
this.watchedNodes[path].next(val)
}
})