Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which is better vue-native or nativescript-vue? [closed]

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?

like image 850
china veerreddy Avatar asked Dec 20 '18 10:12

china veerreddy


People also ask

Is NativeScript better than React Native?

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.

Is Vue Native any good?

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.

Is NativeScript any good?

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.

Is Vue Native better than React Native?

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.


2 Answers

Vue-Native is nothing but a wrapper around ReactNative. So the question becomes ReactNative vs NativeScript?

In my opinion, it's NativeScript.

  • Supports frameworks like Angular & Vue
  • Works with Core JavaScript / TypeScript too
  • Better code sharing
  • 100% access to native apis

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.

  • Would Airbnb Have Fared Better With NativeScript Instead of React Native?
  • ReactNative vs NativeScript
like image 61
Manoj Avatar answered Oct 18 '22 00:10

Manoj


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.

like image 12
Narendra Avatar answered Oct 18 '22 00:10

Narendra