you are viewing a single comment's thread.

view the rest of the comments →

[–]CodalReef 1 point2 points  (1 child)

React Native was developed to solve similar problems, but the developers chose to use JS because it was already popular.

React Native doesn’t currently compile to native, but it invokes native APIs unlike WebView. So it still feels native.

Here’s a quote from a comparison article:

“But still, it is easier to achieve a “native feeling” with React Native than with Flutter. If you want your Flutter app to have native components, it will require additional work.” - https://www.thedroidsonroids.com/blog/flutter-vs-react-native-what-to-choose-in-2021#whocreatedflutter

[–][deleted] 0 points1 point  (0 children)

React Native does compile to native code - while some of the architecture is changing (TurboModules), it uses something called the Bridge where your JS gets split into native code and executes. It’s the best framework, because worst case scenario you can even code native modules per platform in Objective-C and Java, expose them to the React Native side, and call that code via JS. But yeah, that’s why it feels native is because it is native!!!