1. What React yes?
React JAVASCRIPT is used to build a library user interface.
React mainly used to build the UI, many people think React is in MVC V (view).
React internal project originated in Facebook, and Instagram to set up a website and open in May 2013.
React has a high performance, code logic is very simple, more and more people have started to pay attention and use it.
2, React Features
1. Declare design -React declarative paradigm, you can easily describe the application.
2. Efficient -React the DOM by simulation, to minimize interaction with the DOM.
3. Flexible -React can work well with known library or framework.
4.JSX - JSX is an extension of JavaScript syntax. React development does not necessarily use the JSX, but we recommend using it.
The assembly - through React building element, such that the code easier to reuse obtained can be well applied in the development of large projects.
6. The response of the unidirectional data stream - React achieve a unidirectional response data stream, thereby reducing code duplication, which is why it is simpler than the traditional data binding.
3、antd-Ant Design of React
antd
React UI component library is based on Ant Design system design, mainly for research and development of enterprise-class products in the background.
characteristic
-
Extracted from enterprise-class background in product interaction language and visual style.
-
React box assembly for high quality.
-
Use TypeScript developed to provide a complete document type definition.
-
Full link system development and design tools.
-
Dozens of international language support.
-
In-depth ability to customize every detail of the theme.
Support Environment
installation
Npm install or use yarn #
We recommend using npm or yarn way of development , not only in the development environment to easily debug, can be safely deployed in a production environment using the package, enjoy the entire ecosystem brings many benefits and tool chain.
$ npm install antd --save
$ yarn add antd