Skip to content

Commit bd29eec

Browse files
authored
Skip perception checks in store publishers
1 parent 4429f7b commit bd29eec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComposableArchitecture/Store.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ public final class Store<State, Action>: _Store {
375375
public var publisher: StorePublisher<State> {
376376
StorePublisher(
377377
store: self,
378-
upstream: self.core.didSet.map { self.currentState }
378+
upstream: self.core.didSet.map { self.withState(\.self) }
379379
)
380380
}
381381

0 commit comments

Comments
 (0)