Created
February 12, 2024 09:12
-
-
Save kovs705/8e762a08de6d45f65811a476ef352de5 to your computer and use it in GitHub Desktop.
Composable Architecture reducer template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import ComposableArchitecture | |
struct Main: Reducer { | |
var body: some Reducer<Main.State, Main.Action> { | |
Reduce { state, action in | |
return .none} | |
} | |
enum Action: Equatable { | |
} | |
struct State: Equatable { | |
} | |
func reduce(into state: inout State, action: Action) -> Effect<Action> { | |
// | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment