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

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.

主站蜘蛛池模板: 闽清县| 泰州市| 盘锦市| 定西市| 定西市| 蒲江县| 文成县| 沭阳县| 青海省| 江西省| 运城市| 平利县| 普安县| 古丈县| 莱西市| 稷山县| 五华县| 涡阳县| 咸阳市| 鲁山县| 岳普湖县| 满洲里市| 麻江县| 法库县| 普宁市| 泸水县| 宁国市| 济源市| 江安县| 赣榆县| 邹城市| 盐亭县| 冕宁县| 黄龙县| 鹤庆县| 牟定县| 隆安县| 晋宁县| 兴文县| 开江县| 韶山市|