is not a simple thing.
is nothing more than rendering, but heavy rendering only increases the amount of code, while the actual business is a little more complicated.
I write WeChat Mini Programs and then use react to make simple problems more complicated. It"s easier to write a few more function names than to write more:""and the messy js code in tag. It is good to implement simple +-* / PP-- in html, otherwise it will be difficult to maintain in the future. Both react and vue are adding more costs for the so-called simplicity. I also looked at dcloud"s UniApp scheme. When I am confused, I feel that the front end is becoming more and more complicated.
Mini Program, the official account, APP, web, is so sad.
/ /-/ /
I used to use native JS simple encapsulation hosts instead of jquery. I just think the vue react is too heavy. Mini Program"s scheme is more satisfactory.
especially this.setData () is much better than automatic update. In terms of routing, Mini Program"s < navcategory > scheme is better and decides whether to close this page or not.
maybe I haven"t been using vue and react for a long time, but I haven"t understood how the operation of the subpage changes the non-pointer variable of the previous page. I temporarily use the global variable to save it.
write about Mini Program all kinds of sour, using react vue all kinds of tedious. For example,
I want to write a plan to imitate WeChat Mini Programs, 10 days and 20 days, but life is too short, and my back-end wheels are not finished yet. Lament the complex cost of using vue and react, it is better to write it yourself. (it took me 20 days to implement the back-end web framework by myself. Since then, I have never questioned about the framework. I write grammar candy casually. I watch Baidu question all kinds of questions every day using a popular framework, knowing that the convenience of the prelude is bound to be subsequent tedious, and the time cost will not be shortened.)
/ /-/
the front end is particularly complicated. To write and face a lot of problems, whether compatible with WeChat Mini Programs, whether to write a conversion program. Whether to be compatible with fast applications and whether to combine the back-end template engine to deal with SEO. This is complicated.