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

React

React is an open source JavaScript library that provides a view-layer for rendering data as HTML to create interactive UI components. Components have been used typically to render React views that contain additional components specified as custom HTML tags. React views efficiently update and re-render the components without reloading the page when your data changes. It gives you a trivial virtual DOM, powerful views without templates, unidirectional data flow, and explicit mutation. It is a very systematic way of updating the HTML document when the data changes and provides a clean separation of components in a modern, single-page application.

The React Component is built entirely with Javascript, so it's easy to pass rich data through your app. Creating components in React lets you split the UI into reusable and independent pieces, which makes your application component reusable, testable, and makes the separation of concerns easy.

React is only focused on View in MVC, but it also has stateful components that remember everything within this.state. It handles mapping from input to state changes and it renders components. Let's look at React's component life cycle and its different levels.

主站蜘蛛池模板: 湖南省| 乾安县| 饶平县| 广河县| 如东县| 达孜县| 多伦县| 本溪市| 岑巩县| 红河县| 修文县| 华宁县| 金昌市| 克拉玛依市| 阜新市| 门源| 钟山县| 孝昌县| 隆回县| 昭平县| 福清市| 怀远县| 林芝县| 彭州市| 蕉岭县| 卢氏县| 胶南市| 大洼县| 紫金县| 莱阳市| 合水县| 荣成市| 襄垣县| 禄丰县| 会昌县| 彩票| 英吉沙县| 河津市| 山东省| 健康| 南漳县|