| ▲ | ChrisMarshallNY 3 hours ago | ||||||||||||||||
> SwiftUI is a joy to work with and performance is great. It really is, unless you want to draw outside the lines. If I want to do anything that isn’t explicitly in the SwiftUI model, it becomes Kludgeopolis, very quickly. There’s some things that can only be done with UIViewRepresentable, which I consider to be a bit of a “white flag.” Also, because of the way that the rules are written, it’s difficult for me to segregate areas of functionality into extension blocks (like I do, with UIKit). I tend to have fairly long blocks of code, which is less than optimal. But the performance really is excellent, and I can often get a lot done, with much less code, than UIKit. Never worked with hybrid systems, like React, so the same might be true for them. | |||||||||||||||||
| ▲ | oliverjanssen 3 hours ago | parent [-] | ||||||||||||||||
Totally agree – it can get messy once you go off the beaten path. But for most things you can build so much with just SwiftUI and a few Apple frameworks. No node_modules with 500+ dependencies. Coming from web dev that still feels like a luxury. | |||||||||||||||||
| |||||||||||||||||