Do you think react and vue's plan is good?

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, is written to implement js syntax in attributes, but is it really good? Why is html so complicated? you have to write complex js? in html. These renderings have increased the rendering cost, maybe I am used to writing the back-end, and I am more sensitive to any waste of resources.
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.

Mar.12,2021

Oh, it just so happens that vue,react, Mini Program (who has just entered the pit) has written about it. React does have a lot of code to write, especially all kinds of higher-order functions of redux,. But react is an advocate of functional programming. It's just a way of thinking. React also has many advantages. For example, jsx, uses classes to define components. Vue may be a little easier to understand, but vue actually doesn't recommend writing logic code on a line, but in methods, with instructions. Vuex and vue-router are also easy to use. Mini Program is very similar to vue in many places, for example, the Page method is similar to the component configuration item out of the vue file export, the data driver of data, and the inline wx- instruction. However, Mini Program does not support inline methods, and class does not support objects. The officially recommended wepy is weird to use, and it uses redux, that you don't understand.
in short, no matter what framework it is, it is just a development model. If you learn the basics well, you will not be afraid to change.


Brother may not have come from the jquery era? Never operated dom?
both vue and react basically only let you write business logic
and test it out?
functional writing is very useful for testing and automating testing. It's hard to imagine throwing a test group or going online every time the code is written without testing. How confident and sure are you in the code?


at least for now, compared with the old jq, the performance has been improved, and the degree of automation has been improved. In terms of data-driven and rendering, using vue or react, or even angular, is a convenience for developers

.
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-1be7c61-318c5.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-1be7c61-318c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?