News for hackers. Stuff that matters.
Re:Vue Native (2018) by kj800x on Wednesday January 27, 2021 @08:52AM (#25928228)
At my work, my team is pioneering React Native development so I've got a couple of thoughts.

The main benefits for us come down to the fact that we have a large existing JS web application that would take a lot of energy to port to both native platforms (we know from experience, we tried it before). Using React Native, we can share a significant amount of the data and controller layers between web and native. This also means that when a feature gets written for the web, most of the work is already done on mobile (if it was written correctly).

The other key difference is the sheer numbers of each different type of devs we have. At work we have ~400 JS devs and ~30 each of iOS and Android devs. It's just not reasonable to expect the native engineers to be able to keep up. Exploring React Native lets us distribute the load of app development off of the native engineers and put it into some of the web developers. Arguably, an alternate solution would have been to just hire more native devs and I gave that suggestion to management, but that wasn't the direction they wanted to take.

Re:Vue Native (2018) by sakarisson on Wednesday January 27, 2021 @09:18AM (#25928514)
React Native Web (https://github.com/necolas/react-native-web) is a nice solution for better cross-compatibility between React Native and React DOM.

React DOM is very coupled with DOM elements, so React Native Web abstracts away web-specific things, so that code is more sharable.

Re:Vue Native (2018) by comeonseriously on Wednesday January 27, 2021 @09:03AM (#25928355)
I'm curious what this means:

"...my team is pioneering React Native development..."

React Native has been around for 5 or so years.

Re:Vue Native (2018) by rkangel on Wednesday January 27, 2021 @09:14AM (#25928478)
Presumably pioneering it for their specific organisation.
Re:Vue Native (2018) by comeonseriously on Wednesday January 27, 2021 @09:15AM (#25928484)
Ah. I've never heard it put like that.
Re:Vue Native (2018) by pennaMan on Wednesday January 27, 2021 @09:13AM (#25928460)
but GP's team has just recently started using it