Skip to content
Discussion options

You must be logged in to vote

That removeDuplicates: == can probably go! The initializer that doesn't take that parameter is constrained to Equatable and calls == under the hood:

extension WithViewStore where State: Equatable, Content: View {
/// Initializes a structure that transforms a store into an observable view store in order to
/// compute views from equatable store state.
///
/// - Parameters:
/// - store: A store of equatable state.
/// - content: A function that can generate content from a view store.
public init(
_ store: Store<State, Action>,

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mycroftcanner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants