3 ms·
I haven't used Swift UI, but I have used Elm, React (a bit), and Flutter (a fair amount). My understanding is that it's a similar model. In those frameworks (p
by rkangel 2y ago
I haven't used Swift UI, but I have used Elm, React (a bit), and Flutter (a fair amount). My understanding is that it's a similar model.
In those frameworks (particularly Flutter, which generally has less ceremony), I have found simple UIs easy, and complex UIs slightly harder to build, but then they're much more predictable (fewer surprising edge case bugs) and much much more maintainable.
- yen223 2y agoThe more I think about it, the more I think SwiftUI is inspired by Angular - two-way data binding and observables everywhere. Two-way data binding makes for shorter demos, but it doesn't scale nearly as well as one-way data binding. I've found in SwiftUI the way state gets updated across components becomes very messy very quickly. Jetpack Compose is definitely inspired by React, hooks and all. I much prefer working with Jetpack Compose for this reason.