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

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.
主站蜘蛛池模板: 北京市| 北京市| 枣强县| 丹棱县| 太康县| 衡山县| 纳雍县| 巴马| 东源县| 扬中市| 万源市| 邵阳县| 宣恩县| 扶余县| 西乌| 鸡泽县| 沐川县| 西和县| 定南县| 永仁县| 邵东县| 乌审旗| 阳东县| 浪卡子县| 南安市| 巩义市| 武宣县| 聂荣县| 拉孜县| 钦州市| 会泽县| 日照市| 准格尔旗| 崇礼县| 静海县| 松潘县| 临颍县| 景谷| 黑水县| 高平市| 白水县|