Skip to content

Commit a76d7a2

Browse files
committed
Update documentation
1 parent 91dc3d7 commit a76d7a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# Recombine
22

3-
Recombine is a [Redux](https://github.com/reactjs/redux)-like implementation of the unidirectional data flow architecture in Swift.
3+
Recombine is a deeply opinionated [Redux](https://github.com/reactjs/redux)-like implementation of the unidirectional data flow architecture in Swift.
44

55
This project could be considered a tightened and Combine-specific sequel to [ReactiveReSwift](https://github.com/ReSwift/ReactiveReSwift).
66

77
# Why Recombine?
88

99
Ever since I started writing Elm in 2012 at the impressionable age of eighteen, I've always seen its Model-View-Update architecture as the pinnacle of user interface development, and I've wanted for a very long time to make something faithful to Elm's design philosophy. SwiftUI now allows us that same power, if only we use the right tools to take advantage of it.
10+
1011
Recombine makes so many facets of application development easy, for the up front cost of your UI reflecting a central state model.
12+
1113
At the time of writing this document, Swift does not yet have default `Codable` implementations for enums with associated types. There is currently a proposal in the pipeline, but you can already get all the benefits listed below by using [Sourcery's](https://github.com/krzysztofzablocki/Sourcery) [`AutoCodable` template](https://github.com/krzysztofzablocki/Sourcery/blob/master/Templates/Tests/Context/AutoCodable.swift).
1214
A non-comprehensive list of benefits:
1315
- **Type-safe**: Recombine uses concrete types, not protocols, for its actions. If you're using enums for your actions (and you should), switch cases will alert you to all of the locations that need updating whenever you make changes to your implementation.

0 commit comments

Comments
 (0)