ReactJS is so popular that it is used in many areas, including mobile react native, etc.
But both MVVM framework, what is the differenece between reactJS and calosjs?
First I'd like to talk about ReactJS from my perspective.
ReactJS component: reactJs inherits from react.component JSX: this is the script that will be translated into javascript and dom eventBinding: react uses javascript Bind method to change the THIS pointer of method Interactions: there are 3 types of interactions between components, mother->child, child->mother, friends, either by setting properties, or callbacks, or use global data solutions such as React.Context, or EventBus Http communication: using redux Layout template routing and navigation refs: refs is to connect dom etc. useState
|
How to create a React webapp: scarfold ReactJS project Layout Components Router
Redux
|
I think the above are the basic traits of ReactJS.
How is CalosJS?
It is quite simple, supporting multi-instancing in the same page. App instance router & global symbols Http ajax, ajaxQueue,hooks refs callPlugin page templates
|