SwiftRex
Swift + Redux + (Combine|RxSwift|ReactiveSwift) -> SwiftRex (by SwiftRex)
SwiftState
Redux-Like unidirectional data flow for SwiftUI with a Redux-Saga-like side effect model (by palle-k)
SwiftRex | SwiftState | |
---|---|---|
1 | 2 | |
621 | 8 | |
0.0% | - | |
1.2 | 0.0 | |
about 1 year ago | about 3 years ago | |
Swift | Swift | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
SwiftRex
Posts with mentions or reviews of SwiftRex.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-29.
-
Kaleidoscope of iOS app architectures
Originally created for React web apps. Difficult to navigate the code, messy side-effects. ReSwift is a prominent implementation for iOS, although the project doesn’t show much activity anymore. There are others. SwiftRex, for example.
SwiftState
Posts with mentions or reviews of SwiftState.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-02-11.
-
I just released version 1.0 of Recombine, a built-for-SwiftUI architecture based on Elm’s that takes type-safety to the max
Interesting, I find your raw-refined dichotomy very elegant. Yes, I’d be happy to learn more about your framework compared to SCA. I’d also love you hear u/Duffmaaaann ‘s thoughts on Recombine, who’s made their ownunidirectional data flow library, but with a different take on side effects.
-
Concurrency and Combine – what does the future look like?
I've created an implementation of this exact pattern in Swift with the help of SwiftCoroutine some time ago. Here's the code, if anyone's interested: https://github.com/palle-k/SwiftState (don't use this in production though, SwiftCoroutine relies on continuations as run-time function calls, which is discouraged). Once async/await becomes available, I'll rework it.
What are some alternatives?
When comparing SwiftRex and SwiftState you can also consider the following projects:
ReSwift - Unidirectional Data Flow in Swift - Inspired by Redux
Recombine
Reactor - 🔄 Unidirectional data flow in Swift.
SwiftlySearch - A small, lightweight UISearchController wrapper for SwiftUI
ReduxUI - 💎 Redux like architecture for SwiftUI
Verge - 🟣 A robust Swift state-management framework designed for complex applications, featuring an integrated ORM for efficient data handling.