Skip to content

Commit b157134

Browse files
authored
Update StoreReader - drop store-object (#507)
1 parent fae0c5c commit b157134

File tree

5 files changed

+412
-365
lines changed

5 files changed

+412
-365
lines changed

Sources/Verge/Derived/Derived.swift

+1
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ public class Derived<Value: Equatable>: Store<Value, Never>, DerivedType, @unche
156156
}
157157

158158
public final override func stateDidUpdate(newState: Changes<Value>) {
159+
super.stateDidUpdate(newState: newState)
159160
// projects this update into upstream state
160161
if let _set, newState._transaction.isDerivedFromUpstream == false {
161162
_set(newState.primitive)

0 commit comments

Comments
 (0)