- React Components
- Christopher Pitt
- 110字
- 2021-07-09 19:34:45
Summary
In this chapter, you learned even more about ES6 classes and how they complement React components in structure and functionality. We also looked at some interesting uses of state and properties.
Above all, we saw how it's both possible and beneficial to avoid the internal component state. Properties are a powerful tool for component design. We know how to react to changing properties and how to reduce the work React needs to do to render our interfaces.
In the next chapter, we are going to discuss how to persist this data (to different kinds of local storage). We will see how to connect to these data stores through events.
推薦閱讀
- 自然語言處理實戰(zhàn):預(yù)訓(xùn)練模型應(yīng)用及其產(chǎn)品化
- Hyper-V 2016 Best Practices
- 程序員面試筆試寶典
- Windows系統(tǒng)管理與服務(wù)配置
- 算法基礎(chǔ):打開程序設(shè)計之門
- Java 9 Programming Blueprints
- PostgreSQL技術(shù)內(nèi)幕:事務(wù)處理深度探索
- Unity Virtual Reality Projects
- 神經(jīng)網(wǎng)絡(luò)編程實戰(zhàn):Java語言實現(xiàn)(原書第2版)
- Learning Firefox OS Application Development
- 精通Python設(shè)計模式(第2版)
- Getting Started with Greenplum for Big Data Analytics
- Teaching with Google Classroom
- INSTANT Sinatra Starter
- Java零基礎(chǔ)實戰(zhàn)