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

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.

主站蜘蛛池模板: 泌阳县| 富锦市| 鲁甸县| 冕宁县| 敦煌市| 长乐市| 郎溪县| 桃园县| 清水河县| 南京市| 安阳县| 许昌县| 鄂伦春自治旗| 普定县| 吉安市| 临澧县| 龙口市| 始兴县| 进贤县| 新平| 湘阴县| 麻阳| 无为县| 尼木县| 鄯善县| 佛教| 修水县| 陆良县| 钦州市| 绿春县| 历史| 北京市| 广昌县| 泰顺县| 巴林左旗| 辛集市| 天津市| 尉氏县| 浮山县| 新河县| 西宁市|