I would like to start a mobile app with VueJS. Can anyone please suggest which Framework I can choose between vue-native or nativescript-vue?
React Native places more emphasis on styling the components for each platform, to give it an even better native look and feel. NativeScript, on the other hand, is more of a “write once, run everywhere” proponent, although the components can also be styled individually to resemble those of native apps.
Vue is comparable to React as it uses a virtual document object model (DOM) and Vue code which is compiled into the React native code. It is a great option for fast mobile application development.
NativeScript is also awesome in the way we can access the native APIs, so we are never really constrained by the framework. If we need, we can just dive into the native APIs without leaving our environment and language (JS). Cross-platform. Builds for Android and iOS.
React requires solid JavaScript skills, while Vue. js is more oriented to novice developers. Similar to React, Vue. js enables writing with JSX, but the components are written with HTML templates.
Vue-Native is nothing but a wrapper around ReactNative. So the question becomes ReactNative vs NativeScript?
In my opinion, it's NativeScript.
ReactNative got a huge community and range of plugins, but the problem beings when you want to customise. Every app is unique in it's own way, it becomes really hard to customise a plugin for your own needs at least until you have good exposure to Objective C / Java and handle your own forks etc.,
With NativeScript you can always access the native objects & apis form JavaScript, simply write overrides on plugins within your project if you want to customise anything.
Here are few blog posts & videos those compare these frameworks.
As @Manoj mentioned about the biggest advantage of using Nativescript is : You can access all the native elements and apis from Javascript.
I think another plus is the ability to create a code-sharing project. New Vue CLI plugin enables code sharing between web and mobile.There’s nothing quite as awesome as watching your web, iOS and Android app all spinning up at once with the same codebase.
You can further read on nativescript blog and here is the sample project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With