Just found this cool library : vue-native.io
What do you think about it? Useful? It compiles Vue single-file components to run on ReactNative.
Given my opinion of the train wreck laundry-lists of how NOT to use HTML, CSS, or JavaScript that are mentally enfeebled DISASTERS like vue and react...
I don't like 'em, you can have 'em, he's too fat for me...
I'm from team GeekyAnts. Thanks for sharing this :)
Negative
At least because it just transforms your code into React Native, that's it.
So, instead of transforming garbage into "pseudo-native" mobile app, Vue Native is transforming mini-garbage into garbage first and than again garbage into mobile app.
"Let's write a dropdown in a browser in a JavaScript because it is the only language browser understands, but let's do it in TypeScript, but before that let's write in PHP and before that let's write it in Java and just transpile Java > PHP > TypeSript > JavaScript."
I can tell you a secret, you can just write an iOS app using Swift itself and you do NOT need over 9000 other steps to get to the Swift, and same for Android, you can even use Kotlin!
It's like "I wanna leave in China, but I don't wanna learn Chinese and only less 1% understands English, so I will just hire a translator who will be walking with me whole my life, la la la, cha cha cha".
So, at least until Apple, Microsoft and Google won't be providing, supporting and maintaining official JavaScript API and compiler for their native platforms...
Vishwa Bhat
Technology Enthusiast
First of all, Hats off to GeekyAnts effort!
It's certainly better than using Vue with Corodova plugin and can be a competitor to Weex as well provided Vue Native will not have any major incompatibility issues with React Native.
Although it caught my attention at first but on a second thought, Vue-native has a direct dependency on React Native. And the repercussions of direct dependencies are high as the incompatibilities rise and optimisations limits to the dependency. Remember the initial days of Scala?. React Native is an abstraction for building a Native App and Vue-Native is an abstraction over React Native. To be more specific, it's
vue-native(abstraction) <-> react-vue <-> react-native(abstraction) <-> native app(what we want)
With these multiple levels of abstractions, even if we compromise build time but most likely app experience will be impacted. When I say app experience, the least I would expect is the Transitions and Animations (this is one of the factors where native app stands out when compared to hybrid app) and React Native is does decent job at this comparative to other hybrid frameworks probably because it uses native OS components for most of the UI elements AFAIK.
Regardless of what I said above, sometimes, just having a native app which serves the purpose and the footprint in the mobile ecosystem will be more important for businesses than to focus upon micro experiences of users. This is when hybrid apps came into picture I guess.
In a nutshell It's good as of now and probably can remain the same as long as it either acts as a reflection of React Native in terms of features and compatibility otherwise Vue Native should eventually move towards it's own version of hybrid framework (which would be awesome!)
Thos who haven't heard of Vue Native, here's a good blog on medium: