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

Chapter 3. Data Flow and Life Cycle Events

In the previous chapter, we saw the power of JSX. JSX makes it easy to write the React components.

In this chapter, we will focus on the data flow between components and how to manage state and life cycle of components.

In this chapter, we will cover the following points:

  • Data flow in React
  • Props
  • PropTypes
  • State
  • State versus props
  • When to use state and props
  • Component life cycle overview
  • Component life cycle methods

At the end of the chapter, we will get familiar with the data flow in the React components and the ways of maintaining and managing state. We will also get used to the life cycle of a component and various life cycle hooks provided by React.

主站蜘蛛池模板: 井冈山市| 梧州市| 祁门县| 左权县| 霍州市| 无极县| 牙克石市| 砀山县| 五台县| 陵水| 郸城县| 玉屏| 宿迁市| 香港 | 涿州市| 宝山区| 成安县| 九龙县| 镇沅| 佳木斯市| 富宁县| 寿阳县| 霍林郭勒市| 德阳市| 剑阁县| 屏边| 大港区| 淮南市| 封丘县| 江永县| 尉犁县| 民丰县| 松江区| 富川| 柞水县| 南投市| 库尔勒市| 桦甸市| 辽阳县| 上林县| 湘潭市|