- Build Applications with Meteor
- Dobrin Ganev
- 138字
- 2021-07-09 19:48:53
The React's state
Besides the flexibility of decoupling your development with reusable components, another powerful feature of React is in its component state. Every React component comes with an internal state.
If the state of a component changes, the render method will fire and re-render the component. One thing that's very different from other frameworks is that React will re-render only the changes and nothing else.
Also, it does so in a very efficient way, and it doesn't have to touch the DOM for searching before making any changes. What is happening in the back is that JSX actually represents the DOM in JavaScript, and all the updates are happening on the script site in memory first; then it will do some checks, then batch the changes and, finally, it will commit them to the DOM.
- 自己動手寫搜索引擎
- 軟件測試工程師面試秘籍
- 零基礎學Python數據分析(升級版)
- Yocto for Raspberry Pi
- Jupyter數據科學實戰
- Go并發編程實戰
- 基于Struts、Hibernate、Spring架構的Web應用開發
- Kotlin開發教程(全2冊)
- Backbone.js Testing
- 深入解析Java編譯器:源碼剖析與實例詳解
- Greenplum構建實時數據倉庫實踐
- Hands-On Dependency Injection in Go
- JavaWeb從入門到精通(視頻實戰版)
- Java Script從入門到精通(第5版)
- VBA Automation for Excel 2019 Cookbook