官术网_书友最值得收藏!

React

React (https://reactjs.org) is not a full-fledged MVVM framework. It is a JavaScript library for building client-side views or user interfaces. It is developed and backed by Facebook and has a vibrant community and ecosystem behind it. React follows an HTML in JS approach and has a special format called JSX to help us write React components. Unlike Angular, React doesn't have too many concepts or APIs to learn and hence is easier to start with, but React only cares about rendering the UI and hence to get similar functionality offered by Angular, we would have to pair React with other libraries like React Router (https://reacttraining.com/react-router), Redux (https://redux.js.org), MobX (https://mobx.js.org), and so on. JHipster uses React along with Redux and React Router and similar to Angular, JHipster uses TypeScript for React as well. But this is optional as React can be written using JavaScript as well, preferably ES6 (http://es6-features.org). React is fast to render due to its use of a virtual DOM (https://reactjs.org/docs/faq-internals.html) to manipulate a view instead of using the actual browser DOM.

If  you are starting a new project, it is best to choose either Angular or React  as they are well maintained. However, with older versions of JHipster, AngularJS 1.x was also offered as an option but it is becoming legacy and will soon be discontinued in JHipster 5.x. JHipster will provide an official blueprint for those who are still interested in using AngularJS 1.x. Just run the command  jhipster --blueprint generator-jhipster-angularjs  to use it.
主站蜘蛛池模板: 加查县| 高邑县| 白朗县| 永平县| 韩城市| 西宁市| 资兴市| 无极县| 平塘县| 太和县| 钦州市| 名山县| 宝山区| 大新县| 大安市| 师宗县| 淮北市| 新晃| 临沂市| 方城县| 皋兰县| 宿松县| 松江区| 霍邱县| 亳州市| 长泰县| 监利县| 呈贡县| 阿勒泰市| 吉林省| 利川市| 拜泉县| 鄂托克旗| 瑞金市| 库尔勒市| 新闻| 武山县| 阿荣旗| 平陆县| 洛南县| 崇阳县|