React Native vs Swift for building an app

Thinking of building my first iOS app and was curious the current consensus on using React Native verses Swift / Swift UI for my first app.

I've written a few React web apps so have more familiarity there and with the web but want to do it the right way. Any advice would be great!

Answered by Claude31 in 705482022

Depends what you are looking for.

The concepts are different: https://medium.com/swift-blondie/swiftui-vs-react-native-84b4e2103429

React has a longer existence than SwiftUI, so it is probably more developed (there are still many things missing in SwiftUI). And it allows for multi platform development (its main interest). But it misses some important capabilities.

But in the longer run, SwiftUI will likely be faster to cope with the evolutions of iOS.

If you are not looking for multi platform, I would clearly recommend SwiftUI. But that's just a personal opinion, not the result of any benchmark.

Accepted Answer

Depends what you are looking for.

The concepts are different: https://medium.com/swift-blondie/swiftui-vs-react-native-84b4e2103429

React has a longer existence than SwiftUI, so it is probably more developed (there are still many things missing in SwiftUI). And it allows for multi platform development (its main interest). But it misses some important capabilities.

But in the longer run, SwiftUI will likely be faster to cope with the evolutions of iOS.

If you are not looking for multi platform, I would clearly recommend SwiftUI. But that's just a personal opinion, not the result of any benchmark.

React Native vs Swift for building an app
 
 
Q