4 ms·
I think the React Native is pretty cool. React Native doesn't take your web JavaScript and turn it into a mobile app. It is using the React library with the nat
by bobbytherobot 10y ago
I think the React Native is pretty cool. React Native doesn't take your web JavaScript and turn it into a mobile app. It is using the React library with the native UI view objects.
Those are two different problems: what is the best framework for our web front-end vs what is the best framework for our iOS front-end. If you want to normalize on React for both, what is the problem that you are solving by doing that?
- LeoNatan25 10y agoAlmost none of the views used internally in React Native are "native". On iOS, only UIView, UIScrollView and UITextView are used, and every component is reimplemented from the JS side with some help with reinvent-the-wheel type native support. Button with highlight? JS animation on a text container view with a JS tap recognizer. Yes, even gesutre recognizers are implemented in JS, rather than using the native gesture recognizers. Animations - the same. Recently, due to great pressure from the community, some animations were added in native - and are still reinvent-the-wheel type animations, rather than using the OS-provided animation facilities. Controls already do not look or feel native, and once the OS changes its small details some more, it will require FB or the open source community to again reimplement the wheel, and then either have to support both old and new looks and feels, or only support new ones and look out of place for people that have the old OS yet (think of the iOS 6 -> iOS 7 transition, and how RN would look like on iOS 6 once they reinvented the wheel and implemented the iOS 7 look and feel).