After Hongmeng comes out, H5 is enough to replace native apps

The H5 rendering effect in local mode is actually infinitely close to native in performance. In other words, when you use file:// instead of http:// to access H5 pages, the opening speed is also very fast.

And now Android and ios provide the ability of js to access native code. At present, there are many H5 development frameworks that integrate the ability to access native code. For example, the mui of hbuilder and the yeui framework compiled by Banana Cloud can call up native functions, such as Alipay payment, with a single js code.

Why use h5 instead of native? If Hongmeng comes out, there are three operating systems, and each operating system needs to be developed, which will increase the cost of the enterprise, but I think that in the future, it may replace the development language of ios and android. It may be Hongmeng, but it is likely to be H5. Hongmeng advocates H5, so I think H5 will definitely replace ios and android.

And H5 is very powerful in terms of update. H5 can be downloaded to the client as a file to open it, which is very useful for hot update. However, the original compiled file must be repackaged to be installed on the phone, which is very troublesome to update.

In fact, in terms of performance, rendering capabilities, native capabilities, and ease of updating, H5 has not lost the native, even surpassed the native.

Guess you like

Origin blog.csdn.net/h5xiaoyu/article/details/93717338