What is the difference between Dcloud's 5+app and uni-app?

I can also use vue with h5 +

I can develop with h5 + and vue by introducing vue myself, so why do I have to use uni-app? I think it"s troublesome and unnecessary


dcloud forum questions answered

http://ask.dcloud.net.cn/ques.

reprint: dcloud Forum

DCloud_heavensoft:

uni-app can be compiled to Mini Program.
it is not good to introduce vue experience by yourself. Vue is created for single-page applications on web, and single-page applications will get stuck on app.
uni-app also has automatic frame preloading, which loads pages faster.
of course, if you are super slippery with 5 +, all kinds of preloads are good, and vue has adapted to 5 + app, then the experience will be the same as uni-app. But this is very difficult, uni-app can easily get a good experience.

of course uni-app can't operate dom,. This is good and bad.
the reason why WeChat Mini Programs blocks dom, is for performance, and the performance of dom is really not good.
but dom is rich in ecology, and there are many tripartite libraries available.
fortunately, WeChat Mini Programs's ecology is also up at present, and there are all kinds of component libraries without dom, so uni-app is not too worried about ecological problems now.


I have answered similar questions on Zhihu before and delivered them directly:

on the App platform, uni-app still uses the 5 + engine at the bottom, just like the 5 + App.

compared with 5 + App development, uni-app has the following advantages:

  1. Framework is automatically preloaded, window switching experience is better, and page data rendering can be completed during window animation;
  2. can be released across the end, and the future will be a multi-end era. Uni-app has already covered Android, iOS, WeChat Mini Programs and H5. In the future, it will also cover Baidu Mini Program, Alipay Mini Program, Jinri Toutiao Mini Program, and Fast App.
  3. uni-app follows the Vue.js syntax specification, is based on templates and data binding, and is developed in a more modern way, with less code and more efficient development than pure 5 + or mui.
  4. there are many important parts, such as weex, Mini Program's ecologically rich sdk, etc.

has the following disadvantages compared with 5+App:

  1. does not support dom, which is both a disadvantage and an advantage, because it restricts dom, to adopt the vue scheme in order to get a higher performance experience.
  2. many rich web libraries cannot be used, in fact, because of the previous article, dom-based libraries cannot be used directly. Fortunately, there are many libraries based on WeChat Mini Programs, and this ecology is also very perfect. All WeChat Mini Programs's libraries can be used in uni-app, not only in Wechat, but also in app.
  3. uni-app is temporarily unable to implement real machine debug
The components of

uni-app have native calling capabilities, and third-party vue libraries are not compatible with 5+runtime when calling native interfaces. Just like nativescript has vue version and angular version, similar to react native, it all originated from phonegap/cordova

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdb98d-3127c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdb98d-3127c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?