- Beginning React
- Andrea Chiarelli
- 226字
- 2021-07-23 17:10:29
What is React?
To put it simply, React is a JavaScript library for building composable user interfaces. This means that we can build a user interface by composing items called components. A component is an element that contributes to building a user interface. It could be a textbox, a button, a whole form, a group of other components, and so on. Even the entire application's user interface is a component. So, React encourages the creation of components to build a user interface; it's even better if these components are reusable.
React components have the ability to present data that changes over time, and the visualization of that changing data is automatic when we follow a few guidelines.
Since the library deals with user interfaces, you may wonder which presentational design patterns React was inspired by: Model-View-Controller, Model-View-Presenter, Model-View-ViewModel, or something else. React is not bound to a specific presentational pattern. React implements the View part of the most common patterns, leaving developers free to choose the best approach to implement the model, the presenter, and everything else they need to build their application. This aspect is important, since it allows us to classify it as a library, not as a framework; therefore, comparisons with frameworks such as Angular may throw up some inconsistencies.
- SPSS數(shù)據(jù)挖掘與案例分析應(yīng)用實(shí)踐
- Boost程序庫(kù)完全開(kāi)發(fā)指南:深入C++”準(zhǔn)”標(biāo)準(zhǔn)庫(kù)(第5版)
- Effective C#:改善C#代碼的50個(gè)有效方法(原書(shū)第3版)
- Learn React with TypeScript 3
- Yocto for Raspberry Pi
- Mastering Python Design Patterns
- 區(qū)塊鏈項(xiàng)目開(kāi)發(fā)指南
- 后臺(tái)開(kāi)發(fā):核心技術(shù)與應(yīng)用實(shí)踐
- Flask Web開(kāi)發(fā):基于Python的Web應(yīng)用開(kāi)發(fā)實(shí)戰(zhàn)(第2版)
- Python Projects for Kids
- C語(yǔ)言程序設(shè)計(jì)
- Visual Basic語(yǔ)言程序設(shè)計(jì)基礎(chǔ)(第3版)
- 微信小程序開(kāi)發(fā)邊做邊學(xué)(微課視頻版)
- 匯編語(yǔ)言程序設(shè)計(jì)教程
- Spring Boot實(shí)戰(zhàn):從0開(kāi)始動(dòng)手搭建企業(yè)級(jí)項(xiàng)目