SwiftState
ReSwift
SwiftState | ReSwift | |
---|---|---|
2 | 6 | |
8 | 7,514 | |
- | 0.2% | |
0.0 | 3.9 | |
about 3 years ago | 11 days ago | |
Swift | Swift | |
MIT License | MIT License |
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.
SwiftState
-
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.
ReSwift
-
Do I need third party library to manage state management in swiftUI?
Check this out: https://github.com/ReSwift/ReSwift
-
Cast for and against Redux
There are some great examples linked to the ReSwift GitHub page: https://github.com/ReSwift/ReSwift
-
Is MVVM the only architecture you’ve used when developing iOS app?
ReSwift is also pretty good!
-
Getting Started With Kotlin Multiplatform Mobile
ReduxKotlin There are a few ports of Redux for KMM. This one might be the best because it is thread safe, which is very nice. The only drawback that I don't love about it is that it doesn't have types for sevral aspacts that feel like they should have types. On the other-hand ReKotlin (which is a port of ReSwift) has a lot of the typing that ReduxKotlin is missing, but is missing the thread safety. It just depends on your use-case.
-
I wrote an article about Redux architecture for SwiftUI, you can achieve pretty amazing stuff using it. Below Hot Reload implemented in 30 minutes. More links in comments. It's worth at least getting familiar with this architecture :)
Great article OP! Im sure you've seen it in your travels, but Ive been using ReSwift and ReSwift-Thunk for async actions and I've had great success - Gonna look into your navigation solution as that was the one part I'm still missing!
-
Do we have Redux specialists here :D? I'm trying to figure out if I should use classes or structs for keeping the state
I recommend you checkout the code base of ReSwift
What are some alternatives?
Recombine
RxSwift - Reactive Programming in Swift
Reactor - 🔄 Unidirectional data flow in Swift.
Katana - Swift Apps in a Swoosh! A modern framework for creating iOS apps, inspired by Redux.
SwiftlySearch - A small, lightweight UISearchController wrapper for SwiftUI
ReactorKit - A library for reactive and unidirectional Swift applications
ReduxUI - 💎 Redux like architecture for SwiftUI
ReactiveCocoa - Cocoa framework and Obj-C dynamism bindings for ReactiveSwift.
Verge - 🟣 A robust Swift state-management framework designed for complex applications, featuring an integrated ORM for efficient data handling.
swift-composable-architecture - A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.
RxAlamofire - RxSwift wrapper around the elegant HTTP networking in Swift Alamofire
ReactiveSwift - Streams of values over time