S
S
semki0962019-03-07 22:17:38
Mobile development
semki096, 2019-03-07 22:17:38

What is Vue Native?

Just curious, I want to feel. At first I read about NativeScript. But Vue Native caught my eye. Did I understand correctly that this is some kind of vuejs refinement and can be used with both NativeScript and ReactNative? Where is the best place to start, maybe just Vue.js + NativeScript?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey B., 2019-03-08
@semki096

Vue Native is a wrapper around React Native.
NativeScript is a separate cross-platform framework that gives access to native platform components. And both of these tools are not WebView.
NS uses the V8 JavaScript engine for Android and JavaScriptCore for iOS. RN only uses JavaScriptCore
for both platforms. NS can in JS, TS, Angular and this year added official support for Vue through integration with the nativescript-vue
plugin You can feel it in the playground.
I have not worked with RN, as well as with VN, but I am interested in the development of NS.
In general terms, RN and NS are similar, but differ in the architecture of interaction with native platform modules.
NS works with the platform API directly in the JS engine, making calls and converting data on the fly. When compiling, all XML components are passed to native Android and iOS components before being packaged into the platform binary. It's all in the documentation.
There's a nice article on the NS blog where they break down a series of articles from Airbnb about the RN experience.
I think that NativeScript is underestimated by the community, a good product.
Simple applications can also be built on NS, something more complex where memory decides, it is better to write natively.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question