Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I agree, I think lensing is a super cool feature – it also makes us want to structure our app state and actions even more (who would want to write @EnvironmentObject var lensedStore: SubStore, when you could write @EnvironmentObject var lensedStore: SubStore?). Lensed states are also required to be equatable in Recombine and discard unnecessary UI updates, so you alleviate SwiftUI's diffing and get those sweet performance benefits.
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.
Related posts
- Concurrency and Combine – what does the future look like?
- Do I need third party library to manage state management in swiftUI?
- Cast for and against Redux
- Looking for SwiftUI templates/architectures
- Do we have Redux specialists here :D? I'm trying to figure out if I should use classes or structs for keeping the state